mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Added upkeep command.
This commit is contained in:
parent
5cacbfb18a
commit
9db6ace58b
@ -216,6 +216,14 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
|
|||||||
"""
|
"""
|
||||||
world.flush()
|
world.flush()
|
||||||
irc.reply(msg, conf.replySuccess)
|
irc.reply(msg, conf.replySuccess)
|
||||||
|
|
||||||
|
def upkeep(self, irc, msg, args):
|
||||||
|
"""takes no arguments
|
||||||
|
|
||||||
|
Runs the standard upkeep stuff (flushes and gc.collects()).
|
||||||
|
"""
|
||||||
|
world.upkeep()
|
||||||
|
irc.reply(msg, conf.replySuccess)
|
||||||
|
|
||||||
def set(self, irc, msg, args):
|
def set(self, irc, msg, args):
|
||||||
"""<name> <value>
|
"""<name> <value>
|
||||||
|
Loading…
Reference in New Issue
Block a user