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
Palm
96065ff175
fix(bots/discord): correct timer active condition for sticky messages
2024-08-15 22:33:12 +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
031fd26b26
fix(bots/discord): do not remove unrelated reactions
2024-08-14 11:53:29 +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
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
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
de8bef6520
fix(bots/discord): correct sticky messages logic
2024-08-05 00:44:32 +07:00
PalmDevs
4da6175cf5
fix(bots/discord): await when putting entries into db
2024-08-04 02:52:07 +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
5925d90209
fix(bots/discord/commands/eval): evaluate in current context
2024-08-03 01:31:44 +07:00
PalmDevs
b9d08fff64
feat(bots/discord)!: add more attachment scan options
2024-08-02 19:26:20 +07:00
PalmDevs
6875b32fd0
feat(bots/discord/commands): add reload command
2024-08-02 19:26:20 +07:00
PalmDevs
c36684091d
fix(bots/discord): open database as read-write
2024-08-02 19:26:19 +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
8fe78e424e
fix(bots/discord)!: rename config replyToReplied to respondToReply
2024-08-02 19:26:12 +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
bc437a5ec7
fix: other small issues
2024-07-31 19:34:12 +07:00
PalmDevs
620f9339f0
feat(bots/discord): allow admins to bypass permission checks
2024-07-31 19:34:11 +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
ab62e55e76
fix(bots/discord): broken regex when prefix set to special characters
2024-07-31 02:12:30 +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
d31616ebcb
fix(bots/discord): hanging process when disconnecting from API too many times
2024-07-30 21:30:54 +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
38c06997b4
fix(bots/discord): cross-device link build errors
2024-07-28 21:14:07 +07:00
PalmDevs
cdb6001955
feat(bots/discord): blacklist and whitelist for filters
2024-07-28 20:43:25 +07:00
PalmDevs
cbf91162e2
fix(bot/discord): start remove preset timeout for role-preset command
2024-07-26 01:25:52 +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
1f5c5a92a6
fix(bots/discord): set timeout for eligible mutes to unmute faster
2024-07-26 01:25:47 +07:00
PalmDevs
b79a1c7575
fix(bots/discord): only check for member permissions when specified while correcting responses
2024-07-26 01:25:46 +07:00
PalmDevs
875bd209b2
fix(bots/discord): wrong database schema path
2024-07-24 01:12:30 +07:00
PalmDevs
4834685186
feat(bots/discord): don't nest builds in src directory, autogen db when missing
2024-07-23 21:01:04 +07:00
PalmDevs
2f86586179
feat(bots/discord): add api.disconnectRetryInterval config
2024-07-20 23:30:10 +07:00
PalmDevs
09dc70632d
fix(bots/discord/scripts): unintentional escaping on windows
2024-07-09 01:07:27 +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
0bfd03583d
feat(events)!: use better api for events
2024-07-04 21:11:38 +07:00