Commit Graph
100 Commits
Author SHA1 Message Date
Nyeki.py 4701e8194c fix(bot): 🚑 Fix redis pipelines. 2024-11-03 23:07:31 -03:00
Nyeki.py 7b310a2110 fix(bot): 🚑 Migrate to serverless redis. 2024-11-03 22:59:14 -03:00
Nyeki.py 07c6b829bc feat(bot): 🔖 Upgrade to v10. 2024-11-03 15:44:27 -03:00
Nyeki.py 7f28af649e build(bot): ⬆️ Upgrade redis-py. 2024-11-03 15:39:42 -03:00
Nyeki.py 2f33d9610c build(bot): 🔨 Add updating and deployment scripts. 2024-11-03 13:32:45 -03:00
Nyeki.py edb8ad65c7 fix(bot): 🚑 Redis not connecting properly. 2024-11-03 12:46:01 -03:00
Nyeki.py af0cf9cbb5 fix(bot): 🐛 Hangup inactive calls task not working. 2024-11-03 02:39:52 -03:00
Nyeki.py e59a6bda4a fix(bot): 🐛 Fix tasks deployment. 2024-11-03 02:23:46 -03:00
Nyeki.py c41d3caa08 fix(bot): ✏️ Fix typos in tasks deployment. 2024-11-03 02:23:05 -03:00
Nyeki.py 6dc16db421 fix(bot): ✏️ Update displayed message on account deletion. 2024-11-03 00:52:54 -03:00
Nyeki.py 1f8f6e77da fix(bot): 🐛 Prevent users from marking their account for deletion multiple times. 2024-11-03 00:50:18 -03:00
Nyeki.py 9765e4c71c fix(bot): 🐛 Fix "None" when bans don't have a banner in p.user. 2024-11-03 00:41:44 -03:00
Nyeki.py 5566779d4e feat(bot): ⚰️ Remove p.shutdown command. 2024-11-03 00:39:50 -03:00
Nyeki.py fda26d97ee feat(bot): ✨ Migrate tasks to separate containers and readd support for automatic call hangup and account deletion. 2024-11-03 00:31:59 -03:00
Nyeki.py ddd439d6d7 feat(bot): ✨ Add "Delete My Activity Data" button to p.me. 2024-11-02 23:39:18 -03:00
Nyeki.py c3c44a57a6 feat(bot): ✨ Add dev docker compose to emulate k8s environment. 2024-11-02 19:52:27 -03:00
Nyeki.py 3b14480043 fix(bot): Remove "yaoi" from blocked words. 2024-11-02 00:46:35 -03:00
Nyeki.py e53859190b fix(bot): 🚑 Rollback redis hostname changes. 2024-11-01 21:45:50 -03:00
Nyeki.py a3d878c000 fix(bot): 🚑 Typo in redis client initialization. 2024-11-01 21:29:05 -03:00
Nyeki.py c739c1b7e7 fix(bot): 🐛 Add timeout to Redis sockets. 2024-11-01 21:03:48 -03:00
Nyeki.py 1f5e741f71 feat(bot): Pause leaderboard updates. 2024-11-01 20:33:52 -03:00
Nyeki.py 40abb1b173 docs(bot): 📝 Update README. 2024-11-01 20:00:48 -03:00
Nyeki.py ee17def379 docs(bot): ✏️ README config guide typo. 2024-11-01 19:51:23 -03:00
Nyeki.py ccc811ddb1 docs(bot): 📝 Add SSH security guide to README. 2024-11-01 19:32:49 -03:00
Nyeki.py b10275946b fix(bot): 🐛 Webhooks not working. 2024-11-01 17:21:42 -03:00
Nyeki.py ee306a6f1f fix(bot): 🐛 Webhooks not being found. 2024-11-01 16:32:07 -03:00
Nyeki.py 00ad045a35 feat(bot): ✨ Migrate from Citus to PostgreSQL. 2024-11-01 14:37:30 -03:00
Nyeki.py f9da23fc1a docs(bot): 📝 Add copy-pastable command to create an alias to kubectl in README. 2024-11-01 04:24:42 -03:00
Nyeki.py 6e12d2fc01 fix(bot): 🐛 Add subPath to volume mounts of citus containers. 2024-11-01 03:51:48 -03:00
Nyeki.py 2d98983e11 docs(bot): 📝 Add guide on how to add a new node to the cluster to README. 2024-11-01 03:51:25 -03:00
Nyeki.py 9a8d90d75a feat(bot): ✨ Use OpenEBS storage for multi-node clusters. 2024-11-01 03:16:25 -03:00
Nyeki.py fc77c5823d feat(bot): 🐛 Update storage class to use microk8s-hostpath. 2024-11-01 02:31:52 -03:00
Nyeki.py 2dc8b5aee0 feat(bot): Add k8s storage claims. 2024-11-01 02:04:40 -03:00
Nyeki.py 7de2b97029 docs(bot): 📝 Add k8s/tasks.yml to README. 2024-11-01 01:53:32 -03:00
Nyeki.py 3c7d9e193c feat(bot): ✨ Move background tasks to separate image. 2024-11-01 01:52:53 -03:00
Nyeki.py cd578e43bd feat(bot): ✨ Finish migrating to k8s. 2024-10-31 12:17:02 -03:00
Nyeki.py c0616cbcfe feat(bot): Update stuff to migrate to k8s. 2024-10-31 04:57:58 -03:00
Nyeki.py d20f808b88 feat: 🎉 Initial commit to Nyeki's Git. 2024-10-31 00:42:52 -03:00
Nyeki.py 345e44137a feat(bot): 🚧 Start migrating to k8s. 2024-10-30 15:38:00 -03:00
Nyeki.py 01c4a95ff3 refactor(bot): ⚰️ Remove unused imports. 2024-10-28 16:32:07 -03:00
Nyeki.py 0c52d69559 feat(bot): ✨ Move DB initialization and Redis connection testing outside of on_ready to run.py's shard() function. 2024-10-28 14:40:38 -03:00
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