mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Added @getprefixchar
This commit is contained in:
parent
c582cd9834
commit
551a68c4c3
@ -160,6 +160,13 @@ class MiscCommands(callbacks.Privmsg):
|
||||
result.append((file, str(stats.st_size)))
|
||||
irc.reply(msg, ', '.join(map(': '.join, result)))
|
||||
|
||||
def getprefixchar(self, irc, msg, args):
|
||||
"""takes no arguments
|
||||
|
||||
Returns the prefix character(s) the bot is currently using.
|
||||
"""
|
||||
irc.reply(msg, repr(conf.prefixChars))
|
||||
|
||||
|
||||
Class = MiscCommands
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user