mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Added pid command.
This commit is contained in:
parent
105c371f6c
commit
390bd45fbd
@ -150,6 +150,13 @@ class Unix(callbacks.Privmsg):
|
||||
"""
|
||||
irc.reply(progstats())
|
||||
|
||||
def pid(self, irc, msg, args):
|
||||
"""takes no arguments
|
||||
|
||||
Returns the current pid of the process for this Supybot.
|
||||
"""
|
||||
irc.reply(str(os.getpid()))
|
||||
|
||||
_cryptre = re.compile(r'[./0-9A-Za-z]')
|
||||
def crypt(self, irc, msg, args):
|
||||
"""<password> [<salt>]
|
||||
|
Loading…
Reference in New Issue
Block a user