Add subathon auto message
authorGeorgios Atheridis <georgios@atheridis.org>
Wed, 21 Jun 2023 19:26:11 +0000 (20:26 +0100)
committerGeorgios Atheridis <georgios@atheridis.org>
Wed, 21 Jun 2023 19:26:11 +0000 (20:26 +0100)
ihaspeks/auto_messages/subathon.py [new file with mode: 0644]

diff --git a/ihaspeks/auto_messages/subathon.py b/ihaspeks/auto_messages/subathon.py
new file mode 100644 (file)
index 0000000..4bd8895
--- /dev/null
@@ -0,0 +1,9 @@
+from aptbot.bot import Message, Commands, Bot
+
+COOLDOWN = 60 * 60
+END_TIME = 0
+
+
+def main(bot: Bot, message: Message):
+    msg = "Ding SubRATathon on the 1st of july. Multiple activities and events. 1v1 and 2v2 tournament -- JOIN THE DISCORD with the command ?discord -- Other events, such as Bingo, Customs, Spoopy games and much much more. Don't forget to join discord to be updated and learn more --- USE THE COMMAND ?discord Ding"
+    bot.send_privmsg(message.channel, msg)