From 7597eb878f9baf157b482aeb7135fc2fd63a08a6 Mon Sep 17 00:00:00 2001 From: Adam Piekarski Date: Mon, 07 Aug 2017 11:50:12 +0100 Subject: [PATCH] add oi --- dave/modules/oi.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dave/modules/oi.py b/dave/modules/oi.py new file mode 100644 index 0000000..ea3d360 100644 --- /dev/null +++ a/dave/modules/oi.py @@ -1,0 +1,10 @@ +# -*- coding: utf-8 -*- +"""Reply with oi music whenever anyone mentions oi.""" +import dave.module + + +@dave.module.help("Get's oi oi oi in here", name="oi") +@dave.module.match(r"(.*)oi oi oi(.*)") +@dave.module.priority(dave.module.Priority.LOW) +def donk(bot, args, sender, source): + bot.msg(source, "https://www.youtube.com/watch?v=dTek4AdPkik") -- rgit 0.1.3