changes
authorGeorgios Atheridis <atheridis@tutamail.com>
Wed, 6 Apr 2022 03:46:16 +0000 (03:46 +0000)
committerGeorgios Atheridis <atheridis@tutamail.com>
Wed, 6 Apr 2022 03:46:16 +0000 (03:46 +0000)
skgyorugo/analyze_auto_message.py
skgyorugo/auto_messages/hello1.py [new file with mode: 0644]
skgyorugo/auto_messages/hello2.py [new file with mode: 0644]
skgyorugo/auto_messages/hello3.py [new file with mode: 0644]

index 44a596858f185e7bd53abdd9222e89b6fdb6630a..cdaf649ccdae08d3f87562ee50b5ad7b5389860c 100644 (file)
@@ -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 (file)
index 0000000..2c749ae
--- /dev/null
@@ -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 (file)
index 0000000..abbdcf0
--- /dev/null
@@ -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 (file)
index 0000000..683d7b0
--- /dev/null
@@ -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)