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

Minor cleanups

parent 09b688e7
No related branches found
No related tags found
No related merge requests found
......@@ -2,15 +2,14 @@ from errbot import BotPlugin
class Justforfun(BotPlugin):
"""
This is just for fun
"""
"""This is just for fun"""
def callback_mention(self, message, mentioned_people):
""" Listens for rude or nice things about the bot """
if self.bot_identifier not in mentioned_people:
return
# The bot has been mentioned
cmp_message = message.body.casefold()
if 'thank' in cmp_message:
self.send(message.to, "you're welcome")
......
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