2020-08-12 16:18:42 -04:00
|
|
|
/**
|
|
|
|
* @typedef {object} ModmailConfig
|
|
|
|
* @property {string} [token]
|
2020-08-12 17:03:01 -04:00
|
|
|
* @property {array} [mainGuildId]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {string} [mailGuildId]
|
|
|
|
* @property {string} [logChannelId]
|
|
|
|
* @property {string} [prefix="!"]
|
|
|
|
* @property {string} [snippetPrefix="!!"]
|
|
|
|
* @property {string} [snippetPrefixAnon="!!!"]
|
|
|
|
* @property {string} [status="Message me for help!"]
|
2020-08-12 17:03:01 -04:00
|
|
|
* @property {string} [responseMessage="Thank you for your message! Our mod team will reply to you here as soon as possible."]
|
|
|
|
* @property {string} [closeMessage]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {boolean} [allowUserClose=false]
|
|
|
|
* @property {string} [newThreadCategoryId]
|
|
|
|
* @property {string} [mentionRole="here"]
|
|
|
|
* @property {boolean} [pingOnBotMention=true]
|
2020-08-12 17:03:01 -04:00
|
|
|
* @property {string} [botMentionResponse]
|
2020-08-12 20:31:48 -04:00
|
|
|
* @property {array} [inboxServerPermission=[]]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {boolean} [alwaysReply=false]
|
|
|
|
* @property {boolean} [alwaysReplyAnon=false]
|
|
|
|
* @property {boolean} [useNicknames=false]
|
|
|
|
* @property {boolean} [ignoreAccidentalThreads=false]
|
|
|
|
* @property {boolean} [threadTimestamps=false]
|
|
|
|
* @property {boolean} [allowMove=false]
|
|
|
|
* @property {boolean} [syncPermissionsOnMove=true]
|
|
|
|
* @property {boolean} [typingProxy=false]
|
|
|
|
* @property {boolean} [typingProxyReverse=false]
|
|
|
|
* @property {boolean} [mentionUserInThreadHeader=false]
|
|
|
|
* @property {boolean} [rolesInThreadHeader=false]
|
|
|
|
* @property {boolean} [allowStaffEdit=false]
|
|
|
|
* @property {boolean} [allowStaffDelete=false]
|
|
|
|
* @property {boolean} [enableGreeting=false]
|
2020-08-12 17:03:01 -04:00
|
|
|
* @property {string} [greetingMessage]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {string} [greetingAttachment]
|
|
|
|
* @property {*} [guildGreetings={}]
|
|
|
|
* @property {number} [requiredAccountAge] Required account age to message Modmail, in hours
|
2020-08-12 17:03:01 -04:00
|
|
|
* @property {string} [accountAgeDeniedMessage="Your Discord account is not old enough to contact modmail."]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {number} [requiredTimeOnServer] Required time on server to message Modmail, in minutes
|
2020-08-12 17:03:01 -04:00
|
|
|
* @property {string} [timeOnServerDeniedMessage="You haven't been a member of the server for long enough to contact modmail."]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {boolean} [relaySmallAttachmentsAsAttachments=false]
|
|
|
|
* @property {number} [smallAttachmentLimit=2097152] Max size of attachment to relay directly. Default is 2MB.
|
2020-08-12 20:31:48 -04:00
|
|
|
* @property {string} [attachmentStorage="original"]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {string} [attachmentStorageChannelId]
|
2020-08-12 17:03:01 -04:00
|
|
|
* @property {*} [categoryAutomation={}]
|
2020-08-12 16:18:42 -04:00
|
|
|
* @property {boolean} [updateNotifications=true]
|
|
|
|
* @property {array} [plugins=[]]
|
|
|
|
* @property {*} [commandAliases]
|
|
|
|
* @property {number} [port=8890]
|
|
|
|
* @property {string} [url]
|
|
|
|
* @property {string} [dbDir]
|
|
|
|
* @property {object} [knex]
|
|
|
|
* @property {string} [logDir]
|
2020-08-12 17:23:59 -04:00
|
|
|
* @property {array} [extraIntents=[]]
|
2020-08-12 20:31:48 -04:00
|
|
|
* @property {*} [dbType="sqlite"]
|
|
|
|
* @property {*} [sqliteOptions]
|
|
|
|
* @property {*} [mysqlOptions]
|
2020-08-12 16:18:42 -04:00
|
|
|
*/
|