mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Added superreload command.
This commit is contained in:
parent
f94c1a2260
commit
a5e7a1980c
@ -301,6 +301,11 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
|
||||
irc.addCallback(callback)
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
|
||||
def superreload(self, irc, msg, args):
|
||||
name = getArgs(args)
|
||||
world.superReload(__import__(name))
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
|
||||
def reload(self, irc, msg, args):
|
||||
"""<callback name>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user