mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-27 13:31:08 -05: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)))
|
result.append((file, str(stats.st_size)))
|
||||||
irc.reply(msg, ', '.join(map(': '.join, result)))
|
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
|
Class = MiscCommands
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user