Commit graph

61 commits

Author SHA1 Message Date
powermaker450 9d57598352 Major rework of submitting and deletion, empty implementation of context delete 2024-10-26 14:18:15 -04:00
powermaker450 125a872fbb Conciseness with .catch 2024-10-26 13:29:05 -04:00
powermaker450 a40c150012 Move submitConfession to a function 2024-10-25 08:30:25 -04:00
powermaker450 0600f13511 Some cleanup again 2024-10-23 16:07:27 -04:00
powermaker450 e89e674aa2 Use a constant 2024-10-23 15:57:03 -04:00
powermaker450 a2279ef93c Add pardonuser command 2024-10-23 15:34:52 -04:00
powermaker450 f5b18513d2 Change updateGuild to refresh guild and make it actually work 2024-10-23 12:31:40 -04:00
powermaker450 c04b6ffc11 Redo some stuff in updateGuild script 2024-10-23 12:12:41 -04:00
powermaker450 0693713bbe Refresh slash commands script 2024-10-23 09:34:15 -04:00
powermaker450 8945773600 Use pnpm 2024-10-22 19:36:44 -04:00
powermaker450 31cb503bc1 Prettier 2024-10-21 12:37:40 -04:00
powermaker450 e24b163a34 Separate user and confession bans 2024-10-21 12:37:14 -04:00
powermaker450 4564cfb6a2 Cleanup involving destructures and prettier 2024-10-20 15:16:49 -04:00
powermaker450 aec01905b5 Differentiate between checking if a user is banned by user or id 2024-10-20 14:26:45 -04:00
powermaker450 7fbc7f4308 Add update command to update slash commands 2024-10-20 10:50:43 -04:00
powermaker450 e7bc0a32f6 Don't react to message deletes if the guild hasn't been set up yet 2024-10-18 15:25:40 -04:00
powermaker450 df09fe8787 Make logging channel optional 2024-10-17 19:15:52 -04:00
powermaker450 ae27c7d24e Set max length of confession box to 2000 2024-10-17 16:26:27 -04:00
powermaker450 645a8b2ae7 Listen for a button interaction instead of using a collector for submit confessions button 2024-10-17 16:22:49 -04:00
powermaker450 e58239362c Use asynchronus writes 2024-10-16 15:30:14 -04:00
powermaker450 7720ae7792 Fix logger logging and explicit return values 2024-10-15 09:22:08 -04:00
powermaker450 2db07d919d How 2024-10-14 12:45:00 -04:00
powermaker450 d808ef0f15 Add timestamp for admin confession embeds 2024-10-14 12:41:52 -04:00
powermaker450 8368beca29 Improve message deletion messages 2024-10-14 12:37:02 -04:00
powermaker450 025a503abb Check if a user is banned from confessions before displaying the modal 2024-10-14 11:52:04 -04:00
powermaker450 b45daf8fa2 Combine all the moderation commands into one 2024-10-14 11:48:00 -04:00
powermaker450 cdbe79f2a2 Log guild name when reloading slash commands 2024-10-13 19:32:29 -04:00
powermaker450 fb8a9500e7 Comment some funky looking stuff 2024-10-13 19:29:48 -04:00
powermaker450 4b6a413f85 Wording 2024-10-13 19:12:11 -04:00
powermaker450 44be8355e3 Don't ban a user if they are already on the ban list 2024-10-13 19:08:49 -04:00
powermaker450 b5c9f6c6b2 Tiny little README edit 2024-10-13 18:58:25 -04:00
powermaker450 25a386cf1a Proper typings(?) 2024-10-13 18:31:41 -04:00
powermaker450 29d15301cb Ok maybe we shouldn't do that 2024-10-13 18:20:35 -04:00
powermaker450 914fd78ff6 Add a little disclaimer 2024-10-13 18:16:28 -04:00
powermaker450 9e566a2b33 oopsie 2024-10-13 15:54:40 -04:00
powermaker450 49a7582883 Display users better 2024-10-13 15:52:31 -04:00
powermaker450 b25beeee98 Surround confessions in quotes 2024-10-13 15:47:16 -04:00
powermaker450 f4cc93b07d Cast another net 2024-10-13 15:39:27 -04:00
powermaker450 70dce2667e Use the message ID for checking (duh) 2024-10-13 15:33:33 -04:00
powermaker450 a14cfc5191 Save the changes after a confession is deleted 2024-10-13 15:24:04 -04:00
powermaker450 afa0a70f8a If a confession is removed by deletion, delete it internally too 2024-10-13 13:44:34 -04:00
powermaker450 aeb3c70f91 Add attachments support 2024-10-13 13:36:27 -04:00
powermaker450 11404358eb Add detailed ban searching 2024-10-13 12:57:45 -04:00
powermaker450 1612fa8ca1 Add a button to submit a confession under the most recent one 2024-10-13 12:31:41 -04:00
powermaker450 a78e27e9fa Add and use some prettier preferences 2024-10-13 11:06:08 -04:00
powermaker450 6f8435b699 Prettier 2024-10-12 18:51:09 -04:00
powermaker450 9da9926fac Cast some nets 2024-10-12 18:50:34 -04:00
powermaker450 256956df73 mmmmmmmmmmmmm 2024-10-12 18:43:09 -04:00
powermaker450 b2fdfb1da0 Remove rogue loggers 2024-10-12 18:41:51 -04:00
powermaker450 63752cf3c7 Make confession ID in an even more obvious way 2024-10-12 18:34:49 -04:00