Commit Graph
100 Commits
Author SHA1 Message Date
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
Nyeki.py 5bc53f6af1 fix(bot): 🐛 Reset the servers leaderboard update back to every 15 minutes. 2024-10-19 23:50:24 -03:00
Nyeki.py f34bd29cfc feat(bot): ✨ Notify the reporter when their report has been accepted. 2024-10-19 23:46:50 -03:00
Nyeki.py 92468b83fe feat(bot): ✨ Add support for me in user command arguments. 2024-10-19 23:46:35 -03:00
Nyeki.py 6023e0dc0a fix(bot): 🐛 Servers leaderboard. 2024-10-19 23:19:33 -03:00
Nyeki.py d030d0c63a fix(bot): 🐛 Replies not working on unflushed messages. 2024-10-19 22:47:50 -03:00
Nyeki.py 5c2df6b782 refactor(bot): 🎨 Apply formatting. 2024-10-19 22:26:36 -03:00
Nyeki.py 98e1e50831 feat(bot): 🎨 Make message queues a hash. 2024-10-19 22:26:10 -03:00
Nyeki.py 0787240ce7 feat(bot): ✏️ Make the p.leaderboard message shorter. 2024-10-19 22:05:37 -03:00
Nyeki.py decc92e60e fix(bot): 🐛 p.mask showing a wrong message. 2024-10-19 21:58:01 -03:00
Nyeki.py 248050d869 refactor(bot): ⚰️ Remove dead imports. 2024-10-19 21:46:57 -03:00
Nyeki.py d2f3355644 feat(bot): ⚰️ Remove appeals support. 2024-10-19 21:42:18 -03:00
Nyeki.py a7a1183a8e fix(bot): 🐛 Disabled channels allowing commands to be ran in them. 2024-10-19 21:36:42 -03:00
Nyeki.py 0e71148c03 feat(bot): ✨ Add p.userphone. 2024-10-19 21:30:12 -03:00
Nyeki.py 01eb5bec71 fix(bot): 🐛 Years being formatted as days. 2024-10-19 21:25:35 -03:00
Nyeki.py 6b9f2f4c74 Merge branch 'main' of https://github.com/Payphone-Bot/Payphone 2024-10-19 21:24:37 -03:00
Nyeki.py 9b0deec19e fix(bot): 🐛 Servers leaderboard now updating. 2024-10-19 21:24:29 -03:00
Rafael Bradley 50d4ab9474 build(bot): Make bot restart always. 2024-10-19 14:50:23 -03:00
Nyeki.py 398fc2cb93 fix(bot): 🐛 DiscordUserID onverter not working with mentions. 2024-10-19 02:04:31 -03:00
Nyeki.py 0b9c4ececa fix(bot): 🐛 Discord user converter not working. 2024-10-19 01:56:58 -03:00
Nyeki.py 70587d89e1 fix(bot): 🐛 on_guild_update crashing when bot doesn't have Manage Server permissions. 2024-10-19 01:25:11 -03:00
Nyeki.py cef90677d7 fix(bot): 🐛 Automated call hang up suddenly stopping working. 2024-10-19 01:23:33 -03:00
Nyeki.py c8d0d1271a feat(bot): ✨ Alias p.shutdown to p.restart. 2024-10-19 01:21:45 -03:00
Nyeki.py 21c4b05249 feat(bot): Update p.shutdown message. 2024-10-19 01:18:53 -03:00
Nyeki.py ae5e3efc8a fix(bot): 🐛 Servers leaderboard not updating. 2024-10-19 01:15:27 -03:00
Nyeki.py c8d835df4f fix(bot): 🐛 p.user not working on unregistered users. 2024-10-19 01:13:43 -03:00
Nyeki.py 303b9fa402 feat(bot): ✨ Reduce the leaderboard to top 5. 2024-10-19 00:55:35 -03:00
Nyeki.py debb242c35 feat(bot): ✨ Dynamically change the leaderboard's description text. 2024-10-19 00:49:52 -03:00
Nyeki.py b06db39074 feat(bot): ✨ Add server's vanity invite in leaderboard. 2024-10-19 00:45:53 -03:00
Nyeki.py 4e040ca8ad feat(bot): ✨ Add servers leaderboard. 2024-10-19 00:39:33 -03:00
Nyeki.py de65936073 feat(bot): ✨ Add p.user command. 2024-10-19 00:04:13 -03:00
Nyeki.py ff402f9f9e feat(bot): ⚰️ Remove dead imports. 2024-10-18 23:37:20 -03:00
Nyeki.py 5d11fa71bc refactor(bot): ⚰️ Remove dead code. 2024-10-18 23:35:15 -03:00
Nyeki.py 391c94c8b2 fix(bot): Remove logs on messages flush. 2024-10-18 23:31:30 -03:00
Nyeki.py bac90e531b feat(bot): ✨ Add members intent. 2024-10-18 23:31:01 -03:00
Nyeki.py 686263799e feat(bot): ✨ Add pfp color fetching on profile update. 2024-10-18 23:30:42 -03:00
Nyeki.py 15db5d429d feat(bot): ✨ Add support for showing years in time-to-text. 2024-10-18 22:49:01 -03:00
Nyeki.py ec82479d0f fix(bot): 🐛 p.skip not working. 2024-10-18 21:00:43 -03:00