Remove Announce
authorGeorgios Atheridis <georgios@atheridis.org>
Mon, 6 Mar 2023 05:57:16 +0000 (05:57 +0000)
committerGeorgios Atheridis <georgios@atheridis.org>
Mon, 6 Mar 2023 05:57:16 +0000 (05:57 +0000)
ihaspeks/auto_messages/latege.py
ihaspeks/auto_messages/update_queue.py

index 3011a2dad08ac8c9886bfdbd9d19e65a3f1f9ffe..dac115a06606fc59d0e1316a9948b061c42ecea8 100644 (file)
@@ -27,4 +27,4 @@ def main(bot: Bot, message: Message):
     else:
         msg = f"UNBELIEVABLE!!!!! {message.channel} is EARLY by {-latege_amount} seconds!!!!\
         Something very wrong is going on in this world monkaW"
-    bot.send_privmsg(message.channel, "/announce " + msg)
+    bot.send_privmsg(message.channel, msg)
index 59525c5646723d12c357fedc1977e806f3b92b17..7f8e7ee7cf6cd9d40d48783129d55b2514508753 100644 (file)
@@ -36,7 +36,7 @@ def main(bot: Bot, message: Message):
         if c.rowcount:
             bot.send_privmsg(
                 message.channel,
-                f"/announce {c.rowcount} user{'s were' if c.rowcount > 1 else ' was'} just removed from {table if table != 'lol_queue' else 'lol'} queue.",
+                f"{c.rowcount} user{'s were' if c.rowcount > 1 else ' was'} just removed from {table if table != 'lol_queue' else 'lol'} queue.",
             )
 
     conn.commit()