From bc9951c9b5e007c3e1b3076aa0966ccf29bb18bc Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Sat, 3 Aug 2024 01:36:19 +0700 Subject: [PATCH] feat(bots/discord): update example config file --- bots/discord/config.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bots/discord/config.js b/bots/discord/config.js index bddf96d..66b1b14 100644 --- a/bots/discord/config.js +++ b/bots/discord/config.js @@ -11,8 +11,21 @@ export default { GUILD_ID_HERE: ['ROLE_ID_HERE'], }, }, + stickyMessages: { + GUILD_ID_HERE: { + CHANNEL_ID_HERE: { + message: { + content: 'This is a sticky message!', + }, + timeout: 60000, + forceSendTimeout: 300000, + } + } + }, moderation: { cure: { + minimumNameLength: 3, + removeCharactersRegex: /[^a-zA-Z0-9 \-_]/g, defaultName: 'Server member', }, roles: ['ROLE_ID_HERE'], @@ -61,7 +74,11 @@ export default { }, }, }, - allowedAttachmentMimeTypes: ['image/jpeg', 'image/png', 'image/webp'], + attachments: { + scanAttachments: true, + allowedMimeTypes: ['image/jpeg', 'image/png', 'image/webp', 'text/plain'], + maxTextFileSize: 512000 + }, responses: [ { filterOverride: {