h/plugins/shitposting.py

16 lines
348 B
Python
Raw Normal View History

2015-11-03 01:18:44 +00:00
from util import hook
@hook.regex("thanks mr skeltal")
def skeltal(_):
return "https://www.youtube.com/watch?v=10pqeNBg5d0"
@hook.regex(r"(.*)")
def h(inp, channel=None, conn=None):
inp = inp.group(1)
if inp == "h":
return "h"
@hook.regex("dQw4w9WgXcQ")
def rickrollProtector(inp):
return "linked a rick roll, watch out"