PalmDevs
177d413526
ci: remove codeql workflow
2024-07-20 23:29:04 +07:00
PalmDevs
92b985ff5d
chore(bots/discord): add *.sqlite3 to gitignore
2024-07-14 00:27:46 +07:00
PalmDevs
f3d51b7c6b
chore(bots/discord): automatically build default db
2024-07-14 00:27:23 +07:00
PalmDevs
43bd0a021c
feat(apis/websocket): clear old client sessions and instances
2024-07-14 00:24:32 +07:00
PalmDevs
2f03800c61
fix(apis/websocket): fix undefined error
2024-07-14 00:20:24 +07:00
oSumAtrIX
5aeade122b
ci: Publish Docker images ( #41 )
...
Co-authored-by: PalmDevs <git@palmdevs.me >
2024-07-13 14:57:29 +02: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
ebf1ac7c08
feat(bots/discord)!: update config
2024-07-04 21:11:39 +07:00
PalmDevs
0bfd03583d
feat(events)!: use better api for events
2024-07-04 21:11:38 +07:00
PalmDevs
af3759caf4
fix(bots/discord): use env for initializing database
2024-07-04 21:11:35 +07:00
PalmDevs
51a6fb65f0
fix(apis/websocket): don't bundle tesseract.js
2024-06-24 23:33:31 +07:00
PalmDevs
3b2596e748
fix(bots/discord/commands): minor issues
2024-06-24 23:18:27 +07:00
PalmDevs
0303fe3e36
fix(bots/discord): do decancer after resetting nickname
2024-06-24 23:17:28 +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
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
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
fb01ce5740
feat(bots/discord/commands): add purge and role-preset commands
2024-06-24 20:48:04 +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
f75060bc9c
fix(bots/discord): follow-up if reply is already sent when error
2024-06-24 20:20:45 +07:00
PalmDevs
9dea90712e
chore: remove unused dependencies
2024-06-24 20:19:57 +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
8c7620cab8
chore: trust esbuild as a dependency
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
467acff57a
chore: install dependencies
2024-06-24 18:23:42 +07:00
PalmDevs
faa81f4d88
fix(bots/discord): clear role presets after they expire
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
197d2acea8
feat(bots/discord): update config
2024-06-24 18:23:41 +07:00
PalmDevs
4aa138a9af
fix(bots/discord/database): fix schema for role presets
2024-06-24 18:23:41 +07:00
PalmDevs
6658b582db
fix(bots/discord): connect to discord API even if initial bot API connection fails
2024-06-24 18:23:40 +07:00
PalmDevs
c53a89ff99
chore(bots/discord): setup drizzle kit
2024-06-24 18:23:40 +07:00
PalmDevs
e204b7b756
feat(bots/discord): switch to drizzle-orm
2024-06-24 18:23:40 +07:00
PalmDevs
3bca6e5c31
fix(patches/tesseract.js): check if original file exists before using new path
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
348a18a401
chore: format workspace
2024-06-24 18:23:39 +07:00
PalmDevs
fc7be22c6c
fix(apis/websocket): builds not working due to dynamic import requirement
2024-06-24 18:23:39 +07:00