]> kaliko git repositories - sid.git/blobdiff - sid/log.py
doc: Document log plugin
[sid.git] / sid / log.py
index 746fad2f08c2eedf5694da6dd80be68d1b3b18f8..f3f45e707af4bcef5611a4ffebf5c02927d1a7bd 100644 (file)
@@ -68,7 +68,7 @@ class Log(Plugin):
     @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')
@@ -86,7 +86,7 @@ class Log(Plugin):
 
     @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())