Added @getprefixchar

This commit is contained in:
Jeremy Fincher 2003-03-27 21:34:50 +00:00
parent c582cd9834
commit 551a68c4c3
1 changed files with 7 additions and 0 deletions

View File

@ -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