Sat, 15 Nov 2014 16:48:08 +0200
- fixed bad find_developer_by_email call
from modulecore import command_error from configfile import Config import hgapi ModuleData = { 'commands': [ { 'name': 'addchan', 'description': 'Adds a channel to config', 'args': '<channel>', 'level': 'admin', }, { 'name': 'delchan', 'description': 'Deletes a channel from config', 'args': '<channel>', 'level': 'admin', }, ] } def cmd_addchan (bot, args, **rest): bot.add_irc_channel (args['channel']) def cmd_delchan (bot, args, **rest): bot.remove_irc_channel (args['channel'])