@botcmd(hidden=True)
def write(self, message, args):
"""
- **command** ``!write`` : Write log to file"""
+ **command** (hidden) ``!write`` : Writes log to file (use mktemp and return file location as MUC message)"""
delay = int(time()) - Log.throttle_ts
if delay < 30:
self.log.debug('throttling file creation')
@botcmd(hidden=True)
def dump(self, message, args):
- """**command** ``!dump`` : dump log online!"""
+ """**command** (hidden) ``!dump`` : Dumps log as MUC message"""
self.reply(message, self._format_log())