Commit Graph
100 Commits
Author SHA1 Message Date
Nyeki.py 38aa6d1f55 feat(bot): ✨ Use server profile instead of global one. 2024-10-28 13:52:29 -03:00
Nyeki.py a9171ec510 feat(bot): Set asyncio logging to debug. 2024-10-28 13:17:10 -03:00
Nyeki.py 27d9313b05 fix(bot): ✏️ Fix typo in chameleon mask name. 2024-10-28 01:53:03 -03:00
Nyeki.py daff9aafdb feat(bot): ✨ Remove "crack" and "cracker" from censored words. 2024-10-27 19:06:48 -03:00
Nyeki.py 0e2486cb4a feat(bot): ✨ Add banned users stat to p.stats. 2024-10-27 17:34:01 -03:00
Nyeki.py 99941874e7 feat(bot): ✨ Add moderator stats to p.me. 2024-10-27 17:24:47 -03:00
Nyeki.py 0e90f7b320 feat(bot): ✨ Keep track of who unbanned a user. 2024-10-27 16:55:42 -03:00
Nyeki.py 9e99211dda feat(bot): ✨ Keep track of who reviewed each report. 2024-10-27 16:53:05 -03:00
Nyeki.py 6350f9db4f fix(bot): 🐛 Edits not working when the new content has mentions. 2024-10-27 01:49:16 -03:00
Nyeki.py 85a437e3e6 refactor(bot): ♻️ Replace % with , in logging calls. 2024-10-27 01:47:05 -03:00
Nyeki.py 09d2808bd4 feat(bot): ✨ Add rich logging. 2024-10-27 01:30:04 -03:00
Nyeki.py ec00a557fa refactor(bot): ⚰️ Remove dead code. 2024-10-27 00:21:55 -03:00
Nyeki.py 46f34b6680 Merge branch 'main' of https://github.com/Payphone-Bot/Payphone 2024-10-27 00:19:49 -03:00
Nyeki.py 29204f5985 revert(bot): ⏪ Remove heartbeat system. 2024-10-27 00:19:40 -03:00
Rafael Bradley 6e1fad16f0 feat(bot): Restart heartbeat on shard reconnect. 2024-10-26 14:42:59 -03:00
Rafael Bradley 80408b02d1 feat(bot): Stop heartbeat when shard disconnects from Discord. 2024-10-26 14:38:09 -03:00
Nyeki.py aa445fbf63 fix(bot): 🚑 Use default asyncio loop instead of uvloop. 2024-10-26 00:27:51 -03:00
Nyeki.py d3ee4cc576 feat(bot): ✨ Add X mark to deleted messages in deleted message logs. 2024-10-25 23:58:05 -03:00
Nyeki.py 16f6a3f587 feat(bot): ✨ Add 15 seconds cooldown to skip and call commands. 2024-10-25 23:54:16 -03:00
Nyeki.py 2faf314467 feat(bot): ✨ Add masks info to message logs. 2024-10-25 23:51:37 -03:00
Nyeki.py 0a9929017c feat(bot): ✨ Prepend ID: to calls in p.history. 2024-10-25 23:43:37 -03:00
Nyeki.py 666156a453 fix(bot): 🐛 Trim +2000 character messages. 2024-10-25 23:42:35 -03:00
Nyeki.py b0d5b8a5f7 feat(bot): ✨ Add past bans to p.user. 2024-10-25 23:40:45 -03:00
Nyeki.py 92f7790033 fix(bot): ✏️ Change "Current ShardS" to "Current Shard" in p.stats. 2024-10-25 23:34:49 -03:00
Nyeki.py 83f3d549e5 fix(bot): 🐛 Utility cog's cog_unload made sync. 2024-10-25 23:33:43 -03:00
Nyeki.py d257759736 refactor(bot): ♻️ Move heartbeat update task to Utility cog. 2024-10-25 23:31:31 -03:00
Nyeki.py 924528cdba fix(bot): 🐛 Make heartbeat update delay toleration longer. 2024-10-25 23:28:01 -03:00
Nyeki.py 27a528577b fix(bot): 🐛 Hangup not working. 2024-10-25 23:21:17 -03:00
Nyeki.py 92904ea246 feat(bot): ✨ Add past bans to p.user. 2024-10-25 23:15:34 -03:00
Nyeki.py 3973328deb fix(bot): Remove NSFW from blocked words and improve n word censorship. 2024-10-25 20:36:17 -03:00
Nyeki.py 20b22a1f17 feat(bot): ✨ Add "Ongoing Bans" stat to p.stats and reduce default iterations to 4. 2024-10-25 20:33:43 -03:00
Nyeki.py 1c77532a7f fix(bot): 🐛 Main process crashing on shard restart. 2024-10-25 20:29:57 -03:00
Nyeki.py 00abb50c3e feat(bot): ✨ Add a heartbeat to every shard process. 2024-10-25 20:29:29 -03:00
Nyeki.py 5bd361964b fix(bot): 🐛 Decrease max connections per process. 2024-10-24 16:27:15 -03:00
Nyeki.py e83d20070b feat(bot): 🐛 Decrease maximum connections per shard. 2024-10-24 16:26:53 -03:00
Nyeki.py 11c8bae8e0 fix(bot): 🐛 Cat masks blocking messages from being sent and crashing p.mask. 2024-10-24 01:58:52 -03:00
Nyeki.py eb6c7fcd9c feat(bot): ✨ Shut down directly on p.shutdown 0. 2024-10-24 01:52:31 -03:00
Nyeki.py f5ff348468 feat(bot): ✨ Set the status to DND on restart. 2024-10-24 01:50:45 -03:00
Nyeki.py afad9250b6 fix(bot): 🐛 p.call and p.skip not warning about scheduled shutdown. 2024-10-24 01:02:27 -03:00
Nyeki.py b3184fafdf feat(bot): ✨ Show notification when users are calling of shutdown when p.shutdown has been ran. 2024-10-24 00:30:32 -03:00
Nyeki.py b5872df034 feat(bot): ✨ Terminate all processes after p.shutdown. 2024-10-24 00:22:07 -03:00
Nyeki.py b6ac3d70c4 fix(bot): 🚑 Redis not connecting. 2024-10-23 23:44:23 -03:00
Nyeki.py 0b6dfb2361 fix(bot): 🐛 Do not try to use winloop. 2024-10-23 23:39:21 -03:00
Nyeki.py 8c7e76654a feat(bot): Show what shard is starting with the default loop. 2024-10-23 23:36:43 -03:00
Nyeki.py c5143de3ba fix(bot): 🐛 Redis failing to connect in different event loops. 2024-10-23 23:33:25 -03:00
Nyeki.py 7acfb87910 fix(bot): ✏️ Tips typo. 2024-10-23 21:52:04 -03:00
Rafael Bradley 3c30ae8123 Merge pull request #56 from Payphone-Bot/53-move-messages-flushing-away-from-bot-processes
Move messages flushing to a separate process.
2024-10-23 21:49:52 -03:00
Nyeki.py 578f0d3b03 Merge branch '53-move-messages-flushing-away-from-bot-processes' of https://github.com/Payphone-Bot/Payphone into 53-move-messages-flushing-away-from-bot-processes 2024-10-23 21:49:10 -03:00
Nyeki.py 2ff7021595 feat(bot): ✨ Move messages flushing to a separate process. 2024-10-23 21:49:03 -03:00
Nyeki.py 2372ee3d1f feat(bot): ✨ Move messages flushing to a separate loop. 2024-10-23 21:48:48 -03:00
Nyeki.py 00404973bf feat(bot): ✨ Add leaderboard command tip to calls. 2024-10-23 18:08:34 -03:00
Nyeki.py c145f30d21 perf: ⚡ Assign specific CPU cores to bot and DB container. 2024-10-23 18:06:56 -03:00
Nyeki.py c056709332 fix(bot): 🐛 Actually hang up calls with p.shutdown. 2024-10-23 15:36:48 -03:00
Nyeki.py 5375ae4e95 feat(bot): ✨ Trim blocked words to 10 characters. 2024-10-23 15:33:06 -03:00
Rafael Bradley 548566ff7c Merge pull request #45 from Payphone-Bot/14-readd-support-for-reactions
feat(bot): ✨ Add support for reactions.
2024-10-23 15:27:30 -03:00
Nyeki.py 62c2f1d81f feat(bot): ✨ Add support for reactions. 2024-10-23 15:27:03 -03:00
Rafael Bradley 199fd74c5e Merge pull request #44 from Payphone-Bot/25-add-a-report-priority-system
feat(bot): ✨ Add a priority system to reports.
2024-10-23 14:42:28 -03:00
Nyeki.py edd4c8f6ac feat(bot): ✨ Add a priority system to reports. 2024-10-23 14:41:30 -03:00
Nyeki.py 158ef8033c fix(bot): 🐛 Remove "ass" from censored words. 2024-10-23 13:15:44 -03:00
Nyeki.py 652a17a85a fix(bot): 🐛 Allow some words on call and allow @Payphone as command prefix. 2024-10-23 13:11:03 -03:00
Nyeki.py b3de935f9a fix(bot): 🐛 RuntimeError flushing messages to DB. 2024-10-22 21:16:00 -03:00
Nyeki.py d312ea260e fix(bot): 🐛 Flush all calls messages on shutdown. 2024-10-22 18:49:45 -03:00
Rafael Bradley 57531bc915 Merge pull request #43 from Payphone-Bot/38-distribute-call-messages-flushing-among-shard-process-tasks
Distribute call messages flushing among shard process tasks.
2024-10-22 18:45:31 -03:00
Nyeki.py da0006d361 fix(bot): 🐛 Make p.user moderator-only. 2024-10-22 18:44:33 -03:00
Nyeki.py c13b351649 feat(bot): ✨ Improve the startup script. 2024-10-22 18:43:54 -03:00
Nyeki.py edae71827b perf(bot): ⚡ Distribute messages flushing between shards. 2024-10-22 17:20:24 -03:00
Rafael Bradley 0fa5f73863 Merge pull request #42 from Payphone-Bot/41-pmask-shows-the-mask-emoji-but-not-the-name
`p.mask` shows the mask emoji but not the name.
2024-10-22 15:51:00 -03:00
Nyeki.py 01ec9a8355 fix(bot): ✏️ Change p.mask's message a bit. 2024-10-22 15:49:45 -03:00
Nyeki.py ed23929c29 fix(bot): 🐛 p.mask not showing mask's name. 2024-10-22 15:48:46 -03:00
Rafael Bradley 6c1afe0aa5 Merge pull request #40 from Payphone-Bot/39-discorduserid-reply-converter-not-working-on-propagated-messages-during-call
fix(bot): 🐛 `DiscordUserID` replies not working on unflushed propagated messages.
2024-10-22 15:41:36 -03:00
Nyeki.py 82db5dd562 fix(bot): 🐛 DiscordUserID replies not working on unflushed propagated messages. 2024-10-22 15:40:15 -03:00
Rafael Bradley e4ffa1ed0b Merge pull request #37 from Payphone-Bot/36-use-multiprocessing-to-distribute-the-server-load-to-multiple-cores
perf(bot): ⚡ Use one process per shard.
2024-10-22 00:43:25 -03:00
Nyeki.py 29188e53c1 perf(bot): ⚡ Use one process per shard.
Start one process per shard and initialize a new one if any of them fails.
2024-10-22 00:42:25 -03:00
Rafael Bradley 922498f45e Merge pull request #35 from Payphone-Bot/31-add-rewards-for-people-who-find-easter-eggs
feat(bot): ✨ Send a message to the user when they find an ea…
2024-10-21 15:47:45 -03:00
Nyeki.py e52953ccca feat(bot): ✨ Send a message to the user when they find an easter egg. 2024-10-21 15:46:23 -03:00
Rafael Bradley 563b84da06 Merge pull request #33 from Payphone-Bot/32-xx-gets-blocked
fix(bot): 🐛 `xx` getting blocked.
2024-10-21 15:18:29 -03:00
Nyeki.py e947e66e4d fix(bot): 🐛 xx getting blocked. 2024-10-21 15:17:52 -03:00
Rafael Bradley a4dd1f57dc Merge pull request #30 from Payphone-Bot/29-first-call-message-being-censored-is-making-calls-crashing-phistory
29 first call message being censored is making calls crashing phistory
2024-10-21 14:11:14 -03:00
Nyeki.py f8e3e7ab4c fix(bot): 🐛 p.history not responding when a call's first message hadn't been propagated. 2024-10-21 14:09:42 -03:00
Nyeki.py 0d9548dfe1 fix(bot): 🚑 Bot not starting. 2024-10-21 14:08:07 -03:00
Rafael Bradley 6f12473203 Merge pull request #28 from Payphone-Bot/27-asyncpg-exceptions-crash-flush_messages-task
fix(bot): 🐛 Messages not being flushed to the DB after `asyncpg.e…
2024-10-21 14:04:12 -03:00
Nyeki.py 152cf44e65 fix(bot): 🐛 Messages not being flushed to the DB after asyncpg.exceptions.InterfaceError. 2024-10-21 13:51:37 -03:00
Nyeki.py 93026b8325 refactor(bot): ♻️ Change custom is_owner() for @commands.is_owner(). 2024-10-21 13:32:08 -03:00
Nyeki.py 68e988a95d fix(bot): 🚑 Calls being automatically hung up. 2024-10-21 01:46:30 -03:00
Nyeki.py 991499b249 feat(bot): ✨ Add more blocked words. 2024-10-21 01:28:39 -03:00
Nyeki.py 574b09c201 feat(bot): ✨ Add more blocked words. 2024-10-21 01:28:21 -03:00
Rafael Bradley 5427c192e0 Merge pull request #20 from Payphone-Bot/19-doesnotexist-error-in-on_raw_message_edit-and-probably-in-on_raw_message_delete-too
fix(bot): 🐛 `DoesNotExist` in `on_raw_message_*` when no calls are ongoing in that channel.
2024-10-20 23:58:08 -03:00
Nyeki.py 1f45da1670 fix(bot): 🐛 DoesNotExist in on_raw_message_* when no calls are ongoing in that channel. 2024-10-20 23:57:14 -03:00
Rafael Bradley 1d48fea79d Merge pull request #17 from Payphone-Bot/16-notify-the-user-about-their-successful-report-after-the-preports-embed-was-edited
perf(bot): ⚡ Notify reporter after the `p.reports` embed was edited.
2024-10-20 23:33:15 -03:00
Nyeki.py a7f7dccedf perf(bot): ⚡ Notify reporter after the p.reports embed was edited. 2024-10-20 23:32:20 -03:00
Nyeki.py 5bd7ae596c fix(bot): 🐛 Error deleting message replies. 2024-10-20 23:02:24 -03:00
Nyeki.py 0f7618875c feat(bot): 🐛 Delete message replies on original message delete. 2024-10-20 23:00:58 -03:00
Nyeki.py 9e81978fba fix(bot): 🐛 Message deletes not working. 2024-10-20 22:00:10 -03:00
Nyeki.py b5fddf17f9 fix(bot): 🐛 Reply user argument converter randomly not working. 2024-10-20 21:52:22 -03:00
Nyeki.py 6fbb65507f feat(bot): ✨ Flush all messages to DB on call hangup. 2024-10-20 21:51:48 -03:00
Nyeki.py e3c58139d2 fix(bot): 🐛 p.mask showing a wrong message. 2024-10-20 15:39:29 -03:00
Nyeki.py 11603a89b6 feat(bot): ✨ Add middot between server name and vanity url in leaderboard. 2024-10-20 02:01:46 -03:00
Nyeki.py 1cf5712cb8 feat(bot): ✨ Prevent banned users from suggesting. 2024-10-20 01:55:23 -03:00
Nyeki.py 167f969b1c fix(bot): 🐛 Servers leaderboard being reversed. 2024-10-19 23:58:10 -03:00
Nyeki.py ea66f3a3ed fix(bot): 🐛 Replies not working if they're from the current channel. 2024-10-19 23:54:33 -03:00