mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 04:51:07 -05:00
few littles changes in documentation and some debug log removed
This commit is contained in:
parent
d36930152a
commit
490697f6a9
@ -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)
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user