Permalink
Browse files

Adds very important missing ping module

  • Loading branch information...
1 parent 25dcf76 commit 19ebba326ea6423e9c7338cbe7f9e82e2cb23072 Jessica T committed Dec 27, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 Core/ping.py
View
4 Core/ping.py
@@ -0,0 +1,4 @@
+def main(bot, message):
+ """Handles the PINGS"""
+ if message[0] == "PING":
+ bot.core["raw"].main(bot, "PONG %s" % message[1])

0 comments on commit 19ebba3

Please sign in to comment.