feat(bots/discord)!: add more attachment scan options

This commit is contained in:
PalmDevs
2024-08-02 19:04:45 +07:00
parent 6875b32fd0
commit b9d08fff64
2 changed files with 19 additions and 5 deletions

View File

@@ -26,7 +26,11 @@ export type Config = {
messageScan?: {
scanBots?: boolean
scanOutsideGuilds?: boolean
allowedAttachmentMimeTypes: string[]
attachments?: {
scanAttachments?: boolean
allowedMimeTypes?: string[]
maxTextFileSize?: number
}
filter?: {
whitelist?: Filter
blacklist?: Filter