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

Add karma list

parent bc344ea6
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