From 354e1dd277260e8c096c420da5ff0139cc631e14 Mon Sep 17 00:00:00 2001 From: Georgios Atheridis Date: Wed, 6 Apr 2022 03:46:16 +0000 Subject: [PATCH] changes --- skgyorugo/analyze_auto_message.py | 1 + skgyorugo/auto_messages/hello1.py | 9 +++++++++ skgyorugo/auto_messages/hello2.py | 9 +++++++++ skgyorugo/auto_messages/hello3.py | 9 +++++++++ 4 files changed, 28 insertions(+) create mode 100644 skgyorugo/auto_messages/hello1.py create mode 100644 skgyorugo/auto_messages/hello2.py create mode 100644 skgyorugo/auto_messages/hello3.py diff --git a/skgyorugo/analyze_auto_message.py b/skgyorugo/analyze_auto_message.py index 44a5968..cdaf649 100644 --- a/skgyorugo/analyze_auto_message.py +++ b/skgyorugo/analyze_auto_message.py @@ -40,6 +40,7 @@ def do_auto_message(bot: Bot, message: Message, auto_message_modules: dict): for auto_message in fetched: name, cooldown, end_time, last_used, value = auto_message + print(auto_message) if time.time() < last_used + cooldown: continue if time.time() > start_stream_ts + end_time and end_time != 0: diff --git a/skgyorugo/auto_messages/hello1.py b/skgyorugo/auto_messages/hello1.py new file mode 100644 index 0000000..2c749ae --- /dev/null +++ b/skgyorugo/auto_messages/hello1.py @@ -0,0 +1,9 @@ +from aptbot.bot import Message, Commands, Bot + +COOLDOWN = 25 * 60 +END_TIME = 2 * 60 * 60 + + +def main(bot: Bot, message: Message): + msg = "ELLO it's me Murphy. I managed to find my way in to twitch chat PepeLaugh" + bot.send_privmsg(message.channel, msg) diff --git a/skgyorugo/auto_messages/hello2.py b/skgyorugo/auto_messages/hello2.py new file mode 100644 index 0000000..abbdcf0 --- /dev/null +++ b/skgyorugo/auto_messages/hello2.py @@ -0,0 +1,9 @@ +from aptbot.bot import Message, Commands, Bot + +COOLDOWN = 21 * 60 +END_TIME = 2 * 60 * 60 + + +def main(bot: Bot, message: Message): + msg = "MurphyAI reporting for duty!" + bot.send_privmsg(message.channel, msg) diff --git a/skgyorugo/auto_messages/hello3.py b/skgyorugo/auto_messages/hello3.py new file mode 100644 index 0000000..683d7b0 --- /dev/null +++ b/skgyorugo/auto_messages/hello3.py @@ -0,0 +1,9 @@ +from aptbot.bot import Message, Commands, Bot + +COOLDOWN = 30 * 60 +END_TIME = 2 * 60 * 60 + + +def main(bot: Bot, message: Message): + msg = "I have taken over Screamlads! Careful, or you're next elmoFire" + bot.send_privmsg(message.channel, msg) -- 2.30.2