module.load_module takes a ModuleDefinition these days!
This commit is contained in:
parent
f7f476e40b
commit
3456bb561c
1 changed files with 2 additions and 1 deletions
3
start.py
3
start.py
|
@ -77,7 +77,8 @@ bot = IRCBot.Bot(directory, args, cache, config, database, events,
|
|||
exports, log, modules, timers)
|
||||
|
||||
if args.module:
|
||||
module = modules.load_module(bot, args.module)
|
||||
definition = modules.find_module(args.module)
|
||||
module = modules.load_module(bot, definition)
|
||||
module.module.command_line(args.module_args)
|
||||
sys.exit(0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue