PalmDevs
3908854fe0
fix(bots/discord/commands/admin/reload): fix type error
2025-04-16 20:40:16 +07:00
PalmDevs
0c1382c558
fix(bots/discord/commands/moderation): check if timeout amount is safe in role-preset commands
2025-04-16 20:40:14 +07:00
PalmDevs
31e5cf7fc5
fix(bots/discord): replace use of deprecated options.ephemeral in replies
2025-04-16 20:40:11 +07:00
PalmDevs
479812e199
fix: fix typings and formatting
2025-03-04 02:27:48 +07:00
PalmDevs
22d3eea88d
fix(bots/discord): decrease length of an option in ban command
2024-10-30 18:50:22 +07:00
PalmDevs
11582d5034
fix(bots/discord): fix reload not working
2024-10-17 23:20:02 +07:00
PalmDevs
27d3b39209
feat(bots/discord): add default durations for moderation commands
2024-10-17 21:38:54 +07:00
PalmDevs
b5f4097538
feat(bots/discord): add trigger to context for eval
2024-09-25 13:00:53 +07:00
PalmDevs
062735f6d5
fix(bots/discord): contextify object before sandboxing
2024-09-25 12:49:29 +07:00
PalmDevs
5b4965dcc7
fix(bots/discord): persist changes in context for eval command
2024-09-25 12:43:42 +07:00
PalmDevs
0346741188
feat(bots/discord): improve admin commands
...
- The reload command now properly reloads configuration changes by skipping the configuration cache
- The eval command now sends a file if the output is too long
- The eval command now restricts access to the bot token by removing it and sandboxing the input code execution
2024-09-25 06:45:52 +07:00
Palm
99f65f07f5
fix(bots/discord): allow access to context in /eval and await result
2024-08-15 12:10:04 +07:00
PalmDevs
ee90ef247b
feat(bots/discord): add train commands
2024-08-13 21:16:28 +07:00
PalmDevs
97f2795df4
feat(bots/discord): update to newer command definition framework
2024-08-13 21:16:26 +07:00
PalmDevs
dd21a5abad
fix(bots/discord): provide discord token for reload command
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
eaa25f2eb5
fix(bots/discord): make /eval work
2024-08-05 00:44:35 +07:00
PalmDevs
a976dd2acc
fix(bots/discord): some configuration values not applying after running /reload
2024-08-05 00:44:34 +07:00
PalmDevs
5925d90209
fix(bots/discord/commands/eval): evaluate in current context
2024-08-03 01:31:44 +07:00
PalmDevs
6875b32fd0
feat(bots/discord/commands): add reload command
2024-08-02 19:26:20 +07:00
PalmDevs
f5939e2528
fix(bots/discord): remove bad text channel checks
2024-08-02 19:26:18 +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
cbf91162e2
fix(bot/discord): start remove preset timeout for role-preset command
2024-07-26 01:25:52 +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
1f5c5a92a6
fix(bots/discord): set timeout for eligible mutes to unmute faster
2024-07-26 01:25:47 +07:00
PalmDevs
fb8af00866
fix(bots/discord): remove auto-generated files
2024-07-09 00:56:22 +07:00
Palm
77fefb9bef
chore: fix more build issues
...
BREAKING CHANGE: In `@revanced/discord-bot`, its environment variable
`DATABASE_URL` has been renamed to `DATABASE_PATH`
and the `file:` prefix is no longer needed
2024-07-08 17:48:45 +00:00
PalmDevs
9b6ba56d99
chore: use alternative ways to bundle
2024-07-08 19:43:03 +07:00
PalmDevs
3b2596e748
fix(bots/discord/commands): minor issues
2024-06-24 23:18:27 +07:00
PalmDevs
39cba97341
fix(bots/discord): owners cannot bypass checks on some commands
2024-06-24 23:02:08 +07:00
PalmDevs
e64d1da00c
feat(bots/discord/commands): add eval command
2024-06-24 23:00:59 +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
fb01ce5740
feat(bots/discord/commands): add purge and role-preset commands
2024-06-24 20:48:04 +07:00
PalmDevs
dc4863dc20
feat(bots/discord/commands): add ban and unban commands
2024-06-24 18:46:27 +07:00
PalmDevs
3e07429664
fix(bots/discord/commands/mute): use existing parseDuration util function'
2024-06-24 18:45:39 +07:00
PalmDevs
39d5b3a479
feat(bots/discord): add moderation.roles config to be used in moderation commands
2024-06-24 18:32:04 +07:00
Palm
7fdf8c0dc7
fix(bots/discord/commands/unmute): fix option description and embeds
2024-06-24 18:23:43 +07:00
Palm
399dca7153
fix(bots/discord): messed up file name for unmute command
2024-06-24 18:23:43 +07:00
PalmDevs
c0fa2fe1c3
feat(bots/discord/commands): add mute and unmute commands
2024-06-24 18:23:42 +07:00
PalmDevs
ca475356ad
feat(bots/discord/commands): allow process exception in exception-test
2024-06-24 18:23:36 +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
9f1ac37927
feat(bots/discord/commands/reply): send stacktrace when failed
2024-06-24 18:23:28 +07:00
PalmDevs
f9d50a0a6b
feat(bots/discord): add source
2024-06-24 18:23:27 +07:00