@@ -17,7 +17,6 @@ I am licensed as open source under the MIT license.
"""
thanks = "You're welcome!"
guess = "Rollbot's back - tell a friend!"
-meme = "fuck off"
unmeme = "get a job"
issues = "https://kirkleon.ddns.net/gogs/kirkleon/rollbot3/issues"
bump = "Bumping the chat!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nAll done!"
@@ -7,3 +7,4 @@ import plugins.simple
import plugins.curse
import plugins.teamspeak
import plugins.the_house
+import plugins.meme
@@ -0,0 +1,16 @@
+import random
+
+from command_system import as_plugin, RollbotResponse
+@as_plugin
+def meme(db, message):
+ diceroll = random.randint(1,20)
+ good = "I love you."
+ bad = "fuck off"
+ if diceroll == 20:
+ return RollbotResponse(message, txt=good)
+ else:
+ return RollbotResponse(message, txt=bad)