Commit Graph

56 Commits

Author SHA1 Message Date
PalmDevs
04ce8252c0 feat(bots/discord): switch duration parser to @sapphire/duration 2025-05-02 22:57:13 +07:00
PalmDevs
d138af46d1 fix(bots/discord/utils/duration): fix specified default unit not working 2025-03-09 06:33:21 +07:00
PalmDevs
479812e199 fix: fix typings and formatting 2025-03-04 02:27:48 +07:00
PalmDevs
5d1af3c31c fix(bots/discord/utils/duration): make second the default unit 2025-03-04 02:17:59 +07:00
PalmDevs
c2009ca6d4 feat(bots/discord): add more month aliases to duration parser 2024-10-30 18:56:54 +07:00
PalmDevs
27d3b39209 feat(bots/discord): add default durations for moderation commands 2024-10-17 21:38:54 +07:00
PalmDevs
3261294822 fix(bots/discord): fix get response logic 2024-09-22 04:01:36 +07:00
PalmDevs
8c0dd67d03 fix(bots/discord): filter out text triggers correctly from image-only scans 2024-09-20 13:49:38 +07:00
PalmDevs
522ad28fd8 fix(bots/discord): give only removed roles for role presets 2024-08-23 18:05:48 +07:00
PalmDevs
94c4fedc06 fix(bots/discord): replace duration parser with a library 2024-08-23 17:59:02 +07:00
PalmDevs
80aeb19020 feat(bots/discord): add code to actually scan text files correctly 2024-08-10 22:30:45 +07:00
PalmDevs
6c8dce0593 fix(bots/discord): parse larger units of durations, fix wrong timestamp in mod embed 2024-08-10 22:30:44 +07:00
PalmDevs
49c29bebfb fix(bots/discord): correct whitelist logic 2024-08-04 00:29:20 +07:00
PalmDevs
6d463df586 fix(bots/discord): set the label property correctly for message scans 2024-08-03 22:22:42 +07:00
PalmDevs
a7688fa9b9 fix(bots/discord): send right response for after regexes 2024-08-03 01:31:45 +07:00
PalmDevs
f5939e2528 fix(bots/discord): remove bad text channel checks 2024-08-02 19:26:18 +07:00
PalmDevs
412e00317d fix(bots/discord): remove redundant footer for response embeds 2024-08-02 19:26:17 +07:00
PalmDevs
bf661556e1 feat(bots/discord): add sticky messages 2024-08-01 02:29:49 +07:00
PalmDevs
763ef253f9 fix(bots/discord): import config from context 2024-07-31 21:25:12 +07:00
PalmDevs
1a4ec1ece8 feat(bots/discord): add more options for curing, fix default regex 2024-07-31 19:34:10 +07:00
PalmDevs
98ec37b5d1 fix(bots/discord): always true check causing no messages to be scanned 2024-07-31 19:34:10 +07:00
PalmDevs
d234d79310 fix(bots/discord): reset counter when reconnected to api, redo message scan filter logic 2024-07-31 00:22:02 +07:00
PalmDevs
646ec8da87 feat(bots/discord): framework changes and new features
- Migrated to a new command framework which looks better and works better
- Fixed commands not being bundled correctly
- Added message (prefix) commands with argument validation
- Added a new CommandErrorType, for invalid arguments
- `/eval` is now a bit safer
- Corrected colors for the coinflip embed
- `/stop` now works even when the bot is not connected to the API
2024-07-30 21:15:36 +07:00
PalmDevs
cdb6001955 feat(bots/discord): blacklist and whitelist for filters 2024-07-28 20:43:25 +07:00
PalmDevs
27662ed91a feat(bots/discord): add replyToReplied option in response config 2024-07-26 01:25:50 +07:00
PalmDevs
d0acab1915 feat(bots/discord)!: add admin config 2024-07-26 01:25:49 +07:00
PalmDevs
e86180fe29 feat(bots/discord)!: allow message scan response to be message payloads 2024-07-26 01:25:48 +07:00
PalmDevs
09dc70632d fix(bots/discord/scripts): unintentional escaping on windows 2024-07-09 01:07:27 +07:00
PalmDevs
9b6ba56d99 chore: use alternative ways to bundle 2024-07-08 19:43:03 +07:00
PalmDevs
0bfd03583d feat(events)!: use better api for events 2024-07-04 21:11:38 +07:00
PalmDevs
ee885ca758 feat(bots/discord/utils/embeds): make title parameter nullable 2024-06-24 23:16:27 +07:00
PalmDevs
2e1e009b42 feat(bots/discord): add more fallbacks for decancering 2024-06-24 23:15:33 +07:00
PalmDevs
f50b26b82d fix(bots/discord): apply active role presets if members rejoin 2024-06-24 23:00:58 +07:00
PalmDevs
1723e8cacf feat(bots/discord): support nickname decancering 2024-06-24 23:00:54 +07:00
PalmDevs
a2bf3eade9 fix(bots/discord/commands): refactor and add checks 2024-06-24 20:50:46 +07:00
PalmDevs
83c314ef5f fix(bots/discord/utils/duration): fix empty string returning with duration is 0 2024-06-24 20:47:14 +07:00
PalmDevs
b056291ad0 fix(bots/discord/utils/discord/embeds): set thumbnail on moderation embeds 2024-06-24 20:46:31 +07:00
PalmDevs
7e8270f7d2 fix(bots/discord/utils/discord): add moderation module related functions 2024-06-24 20:25:16 +07:00
PalmDevs
4c6ad11be3 fix(bots/discord/utils/discord/rolePresets): correct property access for presets 2024-06-24 20:23:23 +07:00
PalmDevs
49ce9a7ca3 feat(utils/discord/embeds): allow adding extra fields for moderation embeds 2024-06-24 20:22:26 +07:00
PalmDevs
c0fa2fe1c3 feat(bots/discord/commands): add mute and unmute commands 2024-06-24 18:23:42 +07:00
PalmDevs
fb32a04ad3 feat(bots/discord/utils): add functions for role presets 2024-06-24 18:23:41 +07:00
PalmDevs
e204b7b756 feat(bots/discord): switch to drizzle-orm 2024-06-24 18:23:40 +07:00
PalmDevs
fa0159c3a8 fix(bots/discord): wrong command file path being imported 2024-06-24 18:23:39 +07:00
PalmDevs
35b944800a fix(bots/discord): use APIEmbed for response config 2024-06-24 18:23:37 +07:00
PalmDevs
c1e1953762 chore(bots/discord): add default config 2024-06-24 18:23:37 +07:00
PalmDevs
7e5f6481c5 feat(bots/discord)!: read commit description
FEATURES:
- Updated documentation
- Improved configuration format
- Allow filter overriding for each response config (closes #29)
- Improved commands directory structure
- Improved slash command reload script
- New commands
- New command exception handling
2024-06-24 18:23:36 +07:00
PalmDevs
a9add9ea9a feat(bots/discord/utils): add duration utility 2024-06-24 18:23:35 +07:00
PalmDevs
2d794ede7d feat(bots/discord/utils/discord/embeds): expose applyCommonEmbedStyles fn 2024-06-24 18:23:35 +07:00
PalmDevs
da21e1a6f7 feat(bots/discord/utils/fs): use recursive option for listing files 2024-06-24 18:23:34 +07:00