ubuntu-bots team mailing list archive
-
ubuntu-bots team
-
Mailing list archive
-
Message #00008
[Bug 521842] Re: [Bantracker] Add feature to prevent setting and forgetting bans/quiets
this bug is about implementing eir's features in our Bantracker, that we
are using eir now doesn't fix this.
** Changed in: ubuntu-bots
Status: Fix Released => Confirmed
--
You received this bug notification because you are a member of Ubuntu
IRC Bots, which is subscribed to Ubuntu IRC Bots.
https://bugs.launchpad.net/bugs/521842
Title:
[Bantracker] Add feature to prevent setting and forgetting bans/quiets
Status in The official Ubuntu IRC bots:
Confirmed
Bug description:
Some OPs in the Ubuntu community have a bad habit of setting
bans/quiets and then forgetting about them. eir (a freenode utility
bot) has a feature that I think would help fix this problem. It allows
OPs to set an expiration time for their bans. They can also specify an
action for the bot to take once the ban expires. To quote the relevant
section of http://freenode.net/eir.shtml
"btset index [~time]|[reason]
Sets the ban expiry time and/or the reason for the ban by index.
Reasons
When you set a ban, the bot will PM you requesting a comment on the
ban. Simply reply to the comment, whatever you send will be recorded.
If you have set more than one ban you will be promted for each in
turn.
If you wish to extend the default ban time (channel dependent,
typically 24 hours), type this when you enter your comment: ~time
comment - e.g. "~14d Trolling".
Time Specification
When commenting or using the btset command times can be specified in
days, hours, minutes, seconds or any combination.
Examples:
"~1h" For 1 hour from the time set.
"~4h1m4s" For 4 hours, 1 minute and 4 seconds from the time set.
"~48h" For 48 hours from the time set, (can also use ~2d).
"~14d" For 2 weeks (or 14 days) from the time set.
Actions
When specifying an expiry time it is also possible to change the
action that will be taken when the ban expires by prefixing the time
with a special character.
# Report the ban has expired to the report channel.
@ Remove the ban eir is opped in the channel, otherwise report the expiry to the report channel.
% Remove the ban if eir is opped, if not try and obtain ops from chanserv. If neither of these is possible the ban will not be removed and the expiry will not be reported.
Example:
"@~1h" Remove the ban in one hour if eir is opped, or report the expiry
"
eir is open source (http://dev.freenode.net/eir), and I think it would
be very useful if we were to add similar functionality to the Ubuntu
bots.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-bots/+bug/521842/+subscriptions