Trouble with Collision Detection in C#

I’m creating a test game (2D), and I’ve run into some collision problems while scripting with C#.

I have two robots, Bot1 and Bot2. They each have a little “wand” in their hands. I wanted to make it so that when the wand touches the other robot, it would destroy it.

Here’s my code for collision detection:

using UnityEngine;
using System.Collections;

public class CollisionBot2 : MonoBehaviour
{
	void OnCollisionEnter (Collision col)
	{
		if(col.gameObject.name == "Bot1")
		{
			Destroy(col.gameObject);
		}
	}
}

The code has no errors, but when I attached it to Bot2’s wand, it does absolutely nothing.
Thanks in advance!

~Bio

If it’s 2D, you need to use:

void OnCollision2DEnter(Collision2D col)