Closed
Bug 142376
Opened 24 years ago
Closed 17 years ago
[KARMA] Karma.bm spams the user when you ask for a 'rank'
Categories
(Webtools Graveyard :: Mozbot, defect, P2)
Webtools Graveyard
Mozbot
Tracking
(Not tracked)
VERIFIED
FIXED
2.8
People
(Reporter: charlie, Assigned: wolf)
Details
Attachments
(1 file, 1 obsolete file)
|
2.50 KB,
patch
|
wolf
:
review+
|
Details | Diff | Splinter Review |
mozbot will /msg spam anyone who asks for a 'rank' with _every_ object and it's karma rank.
this is a waste, unless you are extremely bored. It should be removed and be able to be called with an argument:
<yeled> mozbot, rank
<mozbot> The person with the most karma is foo with 126 points.
<yeled> mozbot, rank all
<mozbot> The person with the most karma is foo with 126 points.
*then precedes to /msg the whole hash!*
or be able to be commented out with a 'vars'
Comment 1•24 years ago
|
||
Yeah, I agree.
Summary: Karma.bm spams the user when you ask for a 'rank' → [KARMA] Karma.bm spams the user when you ask for a 'rank'
Updated•19 years ago
|
QA Contact: kerz → mozbot
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → bugtrap
Severity: normal → major
OS: NetBSD → All
Priority: -- → P2
Hardware: PowerPC → All
Target Milestone: --- → 2.8
Version: 2.4 → Trunk
Comment 3•17 years ago
|
||
| Assignee | ||
Comment 4•17 years ago
|
||
Comment on attachment 379001 [details] [diff] [review]
Add a limit to which rankings will stopped when reached
>- $self->directSay($event, "Global rankings:");
>+ $self->directSay($event, "Global rankings (top $self->{'ranklimit'}):");
s/top/Top/
>+ $self->directSay($event, "To stop PM 'shutup' to me");
If somebody sets the limit higher than 10, then they can deal. There's other modules that output 10 lines without warning, so this msg should go..
Looks OK otherwise, will r+ an updated patch.
Attachment #379001 -
Flags: review-
Comment 5•17 years ago
|
||
Attachment #379001 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•17 years ago
|
||
Comment on attachment 379006 [details] [diff] [review]
Changes according to comment #4
r=Wolf
Note to self, bump trunk mozbot version to 2.7 before landing.
Will land tonight.
Attachment #379006 -
Flags: review+
| Assignee | ||
Comment 7•17 years ago
|
||
Checking in BotModules/Karma.bm;
/cvsroot/mozilla/webtools/mozbot/BotModules/Karma.bm,v <-- Karma.bm
new revision: 1.10; previous revision: 1.9
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•