Skip to content

Supybot Website

Sections
Personal tools
You are here: Home » Supybot Discussion Forums » Developer Forum » Karma plugin patches

 • Karma plugin patches

Document Actions
Replies: 1   Views: 933
Up one level
You need to be a registered member to post to this forum. Register now.

 • Karma plugin patches

Posted by slacker_nl at 06:14 May 26, 2008
Hi all,

A small patch to change the way how the bot responds to karma updates:


11:44 <slacker> !digiweed++
11:44 <digiweed> slacker: Karma for digiweed is now: 5
11:45 <slacker> !config supybot.plugins.Karma.replyMsg Karma %karma% level:%level%
11:45 <digiweed> slacker: The operation succeeded.
11:45 <slacker> !digiweed++
11:45 <digiweed> slacker: Karma digiweed level:6


Two configuration directives have been added:
supybot.plugins.Karma.replyLevel - boolean, otherwise the bot will respond with a normal OK/KO message
supybot.plugins.Karma.replyMsg - string, the message it will return when reply'ing when karma has been updated, %karma% and %level% will be replaced by the karma object and the karma level.

http://www.euronet.nl/users/wesleys/supybot/Karma.patch01
Member
Posts: 9

 • Re: Karma plugin patches

Posted by slacker_nl at 14:26 May 31, 2008
Small bugfix, Karma.patch01 made it possible to change the Karma even if allowSelfRating was disabled.

http://www.euronet.nl/users/wesleys/supybot/Karma.patch02
Member
Posts: 9

 

Powered by Plone

This site conforms to the following standards: