Mon, 10 Nov 2014 02:50:06 +0200
- prettier formatting for .ticket error
import bt as Bt ModuleData = { 'commands': [ { 'name': 'ticket', 'description': 'Gets ticket info', 'args': '<ticket>', 'level': 'normal', }, { 'name': 'testannounce', 'description': 'Tests the ticket announcer', 'args': '<recipient> <message...>', 'level': 'admin', }, ] } def cmd_ticket (bot, args, replyto, **rest): Bt.get_ticket_data (bot, replyto, args['ticket'], True) def cmd_testannounce (bot, args, **rest): Bt.announce_new_issue (bot, Bt.get_issue (args['ticket']))