From: Georgios Atheridis Date: Mon, 16 Jan 2023 02:30:22 +0000 (+0000) Subject: increased auto message cooldown X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=e2de55bf61b06077d631c3b811eadb23e65c0e35;p=ihaspeks%2Faptbot-ihaspeks.git increased auto message cooldown --- diff --git a/skgyorugo/auto_messages/hello1.py b/skgyorugo/auto_messages/hello1.py index 78bfe96..c10fadd 100644 --- a/skgyorugo/auto_messages/hello1.py +++ b/skgyorugo/auto_messages/hello1.py @@ -1,6 +1,6 @@ from aptbot.bot import Message, Commands, Bot -COOLDOWN = 7 * 60 +COOLDOWN = 9 * 60 END_TIME = 0.5 * 60 * 60 diff --git a/skgyorugo/auto_messages/hello2.py b/skgyorugo/auto_messages/hello2.py index e884a39..f886261 100644 --- a/skgyorugo/auto_messages/hello2.py +++ b/skgyorugo/auto_messages/hello2.py @@ -1,9 +1,9 @@ from aptbot.bot import Message, Commands, Bot COOLDOWN = 20 * 60 -END_TIME = 1 * 60 * 60 +END_TIME = 0 def main(bot: Bot, message: Message): - msg = "MurphyAI reporting for duty!" + msg = "Wanna ask 9ball a question and get an answer? use: ?9ball " bot.send_privmsg(message.channel, msg) diff --git a/skgyorugo/auto_messages/queuehelp.py b/skgyorugo/auto_messages/queuehelp.py index 1159e97..04394df 100644 --- a/skgyorugo/auto_messages/queuehelp.py +++ b/skgyorugo/auto_messages/queuehelp.py @@ -1,6 +1,6 @@ from aptbot.bot import Message, Commands, Bot -COOLDOWN = 30 * 60 +COOLDOWN = 48 * 60 END_TIME = 2.5 * 60 * 60 diff --git a/skgyorugo/auto_messages/youtube.py b/skgyorugo/auto_messages/youtube.py index e71fa87..63c3112 100644 --- a/skgyorugo/auto_messages/youtube.py +++ b/skgyorugo/auto_messages/youtube.py @@ -1,7 +1,7 @@ from aptbot.bot import Message, Commands, Bot import yt_api.videos -COOLDOWN = 30 * 60 +COOLDOWN = 42 * 60 END_TIME = 0 CHANNEL_ID = "UCQ7C3NUKY6TSkURdUdVoYFw"