projects
/
ihaspeks
/
aptbot-ihaspeks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607e486
)
increased auto message cooldown
author
Georgios Atheridis
<georgios@atheridis.org>
Mon, 16 Jan 2023 02:30:22 +0000
(
02:30
+0000)
committer
Georgios Atheridis
<georgios@atheridis.org>
Mon, 16 Jan 2023 04:31:23 +0000
(
04:31
+0000)
skgyorugo/auto_messages/hello1.py
patch
|
blob
|
history
skgyorugo/auto_messages/hello2.py
patch
|
blob
|
history
skgyorugo/auto_messages/queuehelp.py
patch
|
blob
|
history
skgyorugo/auto_messages/youtube.py
patch
|
blob
|
history
diff --git
a/skgyorugo/auto_messages/hello1.py
b/skgyorugo/auto_messages/hello1.py
index 78bfe96d391427b0342b30018267c92ca895b616..c10fadd2d7970da91042a49bcd8b64c227d216ee 100644
(file)
--- 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 e884a39abac268d9a48070cfd22fead2fcecf5a0..f886261afdb002e040a1dc1bf910a9d5ae9c0809 100644
(file)
--- 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 * 6
0
+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 <question>
"
bot.send_privmsg(message.channel, msg)
diff --git
a/skgyorugo/auto_messages/queuehelp.py
b/skgyorugo/auto_messages/queuehelp.py
index 1159e97e6b41ab3bffa1c84c520c97e9619edd2e..04394dff288433ad68415fb045908f60cafd12db 100644
(file)
--- 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 e71fa8730547651e4dc43dffd13dd655724475fa..63c3112ec84e19677b2b32b4eca6921a3aedbdec 100644
(file)
--- 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"