Closed
Bug 123713
Opened 23 years ago
Closed 23 years ago
[HAVE FIX] Various Karma module changes
Categories
(Webtools Graveyard :: Mozbot, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
2.2
People
(Reporter: ian, Assigned: ian)
References
Details
Attachments
(1 file, 2 obsolete files)
3.48 KB,
patch
|
Details | Diff | Splinter Review |
Some Karma commands clash with the Infobot query? syntax.
Assignee | ||
Comment 1•23 years ago
|
||
At the same time, we should add a way to get someone's individual rank (as well as their score), prevent things likes "----" getting counted, and make people drop off the list if they hit 0 karma.
Status: NEW → ASSIGNED
Keywords: review
Summary: Change Karma commands not to clash with Infobot → [HAVE FIX] Various Karma module changes
Assignee | ||
Comment 2•23 years ago
|
||
@@ -85,6 +85,9 @@ @@ -93,6 +96,9 @@ seem to imply that code reuse could be implemented. + 'rank' => 'Find someone\'s karma level. Omit the victim name to get a complete listing (long). Syntax: rank victim', [victim], it's optional, you said so yourself in the previous sentence.
Assignee | ||
Comment 4•23 years ago
|
||
Ok, I changed the help line a little. The code reuse idea is good, but unfortunately it would be hard to massage the code into using the same system for the global list as the personal list while still having an easy way to change the global list from the vars command. Believe me, I tried.
Attachment #68045 -
Attachment is obsolete: true
Assignee | ||
Comment 5•23 years ago
|
||
Improves the help line some more.
Attachment #68105 -
Attachment is obsolete: true
Assignee | ||
Comment 6•23 years ago
|
||
While I'm at it, the if statement on line 141 should be negated to read: if (not defined($karma)) { $self->say($event, "You have not given $who any karma."); } else { $self->say($event, "You have given $who $karma points of karma."); }
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → Mozbot 2.2
Assignee | ||
Comment 7•23 years ago
|
||
checked in (kerz gave me r=kerz on IRC)
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
QA Contact: timeless → kerz
Updated•18 years ago
|
QA Contact: kerz → mozbot
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•