Skip to content
Snippets Groups Projects
Commit a8744a8c authored by Bruce Cowan's avatar Bruce Cowan
Browse files

Add karma list

parent dfe83728
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,15 @@ class Karma(BotPlugin):
super().deactivate()
@botcmd
def karma_list(self, message, args):
"""Prints a list of karmaed things"""
if self.karma:
l = ', '.join(self.karma.keys())
return "List: '{}'".format(l)
else:
return "**Warning**: Nothing in the karma database"
@botcmd
def karma_add(self, message, args):
"""Adds karma"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment