#let the user know! self.bot.msg_all("Copy that", targets) def send_reminder(self, string, targets): self.bot.msg_all(string, targets) def syntax(self): return ''' Reminder module supports !remind me in {x} [minutes|seconds|hours] {some reminder string} ''' def close(self): #we don't need to clean up anything special pass if __name__ == '__main__': #basic stream handler h = logging.StreamHandler() h.setLevel(logging.DEBUG) #format to use f = logging.Formatter("%(name)s %(levelname)s %(message)s") h.setFormatter(f) file_handler.setFormatter(f) bot = CommandBot('TimeTester', 'irc.segfault.net.nz', 6667, log_handlers=[h]) bot.join('#bots') ReminderModule(bot) bot.loop()