import postgres_interfacing class bot_help(): def reply(self, target, source, command_arguments): my_postgres_interfacing = postgres_interfacing.postgres_interfacing() my_postgres_interfacing.irc_reply(target, source, "Default help. Known commands: help, ping")