-
+ 8C388A0AAD581C48387FC3A938FED1AECE5D6630D1FD65C98B960E56290E12C31CB5041E5D8A2ADF0C1260B72CC0ED3A4B022B605C3DD29E360E251AE0CB86CC
commands/ping_pong.py
(0 . 0)(1 . 11)
21 import postgres_interfacing
22
23 class ping_pong():
24
25 def reply(self, target, source, command_arguments):
26 my_postgres_interfacing = postgres_interfacing.postgres_interfacing()
27 if command_arguments:
28 reply_string = "pong. Here's your arguments back: %s" % command_arguments
29 my_postgres_interfacing.irc_reply(target, source, reply_string)
30 else:
31 my_postgres_interfacing.irc_reply(target, source, "pong")