diff --git a/README.md b/README.md index 282d0b0..15d9b87 100644 --- a/README.md +++ b/README.md @@ -92,15 +92,18 @@ The bot can have a "reporting channel" like an -ops channel, where it forwards a You can tweak which information you would like to be forwarded to the reporting channel. Some reporting is activated by default like topic changes, mode changes, etc, some not, like bot's ban/quiet edit/mark etc, take a look at: - !hostmask add your_account *!*@something - !admin capability add your_account #myChannel,op !search supybot.plugins.ChanTracker.announce If desired, the bot can send a private message to the op that sets a tracked mode. Note the op must be known as channel's op by the bot; the bot owner automatically has that capability: - !config channel #myChannel supybot.plugins.ChanTracker.askOpAboutMode True +You can add op capability to someone that way: + + !user register opaccount password + !hostmask add opaccount *!*@something + !admin capability add opaccount #myChannel,op + The bot can set a default duration for new tracked mode changes, in order to auto remove them: !config channel #myChannel supybot.plugins.ChanTracker.autoExpire 3600 (1h) diff --git a/plugin.py b/plugin.py index e70e9a6..81b18e8 100644 --- a/plugin.py +++ b/plugin.py @@ -2676,7 +2676,6 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler): for change in modes: (mode,value) = change m = mode[1:] - log.debug('%s - %s / %s' % (mode,value,m)) if value: value = str(value).lstrip().rstrip() item = None @@ -2765,7 +2764,6 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler): if m in announces: msgs.append('[%s %s]' % (mode,value)) else: - log.debug('%s --> %s' % (m,m in announces)) if n: n.addLog(channel,'sets %s' % mode) if m in announces: