quantumlemur/Supybot-Plugins

[global] debug output

Closed this issue · 0 comments

Hello,

I saw this code in Timebomb, but you may do it in other plugins:
if self.debug:
self.irc.reply('I just created a bomb in %s' % channel)
You shouldn't use IRC for debugging purpose; log.debug has been created for that.

Best regards,
ProgVal