added requirements
authorGeorgios Atheridis <atheridis@tutamail.com>
Wed, 31 Aug 2022 15:47:14 +0000 (15:47 +0000)
committerGeorgios Atheridis <atheridis@tutamail.com>
Wed, 31 Aug 2022 15:47:14 +0000 (15:47 +0000)
requirements.txt [new file with mode: 0644]
skgyorugo/main.py

diff --git a/requirements.txt b/requirements.txt
new file mode 100644 (file)
index 0000000..c8ec5aa
--- /dev/null
@@ -0,0 +1,3 @@
+aptbot @ git+https://github.com/atheridis/aptbot.git@296c2b730b342268c7b92725d9954fe9eef1ec12
+python-dotenv==0.20.0
+urllib3==1.26.11
index 30ee0c0043fe755fb606660f510194d7d64ce56b..e8f7dab41a12fd163b30fbf7edfcb8c081d2fab1 100644 (file)
@@ -126,7 +126,8 @@ def start(bot: Bot, message: Message, stop_event: Event):
 def main(bot: Bot, message: Message):
     if message.command == Commands.PRIVMSG:
         database_manager.add_message_to_chat_history(message)
-        analyze_command.do_command(bot, message, commands_modules)
+        if message.value[0] in {"?", "\\"}:
+            analyze_command.do_command(bot, message, commands_modules)
         scripts.unit_converter.send_metric(bot, message)
         scripts.alwase.alwase(bot, message)
         scripts.chatting.chatting(bot, message)