From 83876dc88d2016716b11b36b19b161acdcbaf4e8 Mon Sep 17 00:00:00 2001 From: Georgios Atheridis Date: Wed, 31 Aug 2022 15:47:14 +0000 Subject: [PATCH] added requirements --- requirements.txt | 3 +++ skgyorugo/main.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c8ec5aa --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +aptbot @ git+https://github.com/atheridis/aptbot.git@296c2b730b342268c7b92725d9954fe9eef1ec12 +python-dotenv==0.20.0 +urllib3==1.26.11 diff --git a/skgyorugo/main.py b/skgyorugo/main.py index 30ee0c0..e8f7dab 100644 --- a/skgyorugo/main.py +++ b/skgyorugo/main.py @@ -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) -- 2.30.2