mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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.addCallback(callback)
|
||||||
irc.reply(msg, conf.replySuccess)
|
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):
|
def reload(self, irc, msg, args):
|
||||||
"""<callback name>
|
"""<callback name>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user