typo and tabs

This commit is contained in:
Nicolas 2013-10-23 14:00:34 +02:00
parent cc95bd88ec
commit e0af6f5689
2 changed files with 29 additions and 24 deletions

View File

@ -1,5 +1,5 @@
This supybot plugin keeps records of channel mode changes, in a sqlite database and permits to manage them over time. This supybot plugin keeps records of channel mode changes, in a sqlite database and permits to manage them over time. \
it stores affected users, permits to do deep search on them, review actives ones, edit, log, mark lot of them in row. It stores affected users, permits to do deep search on them, review actives ones, edit, log, mark lot of them in row.
By default, bot will not stay opped, but you can configure that globaly or per channel : By default, bot will not stay opped, but you can configure that globaly or per channel :
@ -13,13 +13,17 @@ Tracked modes are currently defined here ( +qbeI by default ):
The command used by the bot to op itself is editeable here : The command used by the bot to op itself is editeable here :
!config supybot.plugins.ChanTracker.opCommand by default it's "CS OP $channel $nick" where $channel and $nick will be replaced by targeted channel and bot's nick at runtime !config supybot.plugins.ChanTracker.opCommand by default it's "CS OP $channel $nick"
Where $channel and $nick will be replaced by targeted channel and bot's nick at runtime
You should set !config supybot.reply.format.time.elapsed.short True, it's a bit more readable. You should set !config supybot.reply.format.time.elapsed.short True, it's a bit more readable.
You may want to change the delay between mode removal checker : You may want to change the delay between mode removal checker :
!config supybot.plugins.ChanTracker.pool ( by default 60 seconds ), so that means if you set duration of something to less than that, removal may occurs after 60s + random irc activity !config supybot.plugins.ChanTracker.pool
( by default 60 seconds ), so that means if you set duration of something to less than that, removal may occurs after 60s + random irc activity
A lot of fancy informations can be send by the bot about your #channel activity to #logChannel, if set up, globaly or per channel, bot must be in both, obloviously: A lot of fancy informations can be send by the bot about your #channel activity to #logChannel, if set up, globaly or per channel, bot must be in both, obloviously:
@ -33,7 +37,7 @@ Bot can set a duration for new tracked mode changes, in order to auto remove the
!config channel #myChannel supybot.plugins.ChanTracker.autoExpire 3600 ( 1h ) !config channel #myChannel supybot.plugins.ChanTracker.autoExpire 3600 ( 1h )
If ircd is great, bot can track account changes and get gecos/username informations when someone joins a channel, it supports ircd CAP features If ircd is great, bot can track account changes and get gecos/username informations when someone joins a channel, it supports ircd CAP features, details can be found here : http://tools.ietf.org/html/draft-mitchell-irc-capabilities-01
It also has a lot of channel protection features, with per channel settings : It also has a lot of channel protection features, with per channel settings :
@ -51,17 +55,18 @@ It also has a lot of channel protection features, with per channel settings :
under attack channel under attack channel
etc etc
Users who matchs patterns presents on supybot.plugins.ChanTracker.modesToAskWhenOpped are exempted from those triggers : Users who matchs patterns presents on supybot.plugins.ChanTracker.modesToAskWhenOpped are exempted from those triggers : \
In that case you should set bot to keep op, in order to tracks exempted users. In that case you should set bot to keep op, in order to tracks of exempted users.
An example about flood control : An example about flood control :
You want to ban for 3 minutes anyone that send more than 3 messages in 7 seconds in your #channel : You want to ban for 3 minutes anyone that send more than 4 messages in 7 seconds in your #channel :
!config channel #channel supybot.plugins.ChanTracker.floodPermit 3
!config channel #channel supybot.plugins.ChanTracker.floodPermit 4
!config channel #channel supybot.plugins.ChanTracker.floodLife 7 !config channel #channel supybot.plugins.ChanTracker.floodLife 7
!config channel #channel supybot.plugins.ChanTracker.floodMode b !config channel #channel supybot.plugins.ChanTracker.floodMode b
!config channel #channel supybot.plugins.ChanTracker.floodDuration 180 !config channel #channel supybot.plugins.ChanTracker.floodDuration 180
Bot will not kick by default, see : Bot will kick by users affected by +b see :
!config supybot.plugins.ChanTracker.kickMode !config supybot.plugins.ChanTracker.kickMode
!config supybot.plugins.ChanTracker.kickMessage !config supybot.plugins.ChanTracker.kickMessage