From 551a68c4c3cf1fb1a330a0e65e799d4602602ecc Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 27 Mar 2003 21:34:50 +0000 Subject: [PATCH] Added @getprefixchar --- src/MiscCommands.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/MiscCommands.py b/src/MiscCommands.py index d7a9d94a0..98ab91343 100755 --- a/src/MiscCommands.py +++ b/src/MiscCommands.py @@ -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