(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")