54 lines
2.5 KiB
JavaScript
54 lines
2.5 KiB
JavaScript
|
/**
|
||
|
* @typedef {object} ModmailConfig
|
||
|
* @property {string} [token]
|
||
|
* @property {*} [mainGuildId]
|
||
|
* @property {string} [mailGuildId]
|
||
|
* @property {string} [logChannelId]
|
||
|
* @property {string} [prefix="!"]
|
||
|
* @property {string} [snippetPrefix="!!"]
|
||
|
* @property {string} [snippetPrefixAnon="!!!"]
|
||
|
* @property {string} [status="Message me for help!"]
|
||
|
* @property {*} [responseMessage="Thank you for your message! Our mod team will reply to you here as soon as possible."]
|
||
|
* @property {*} [closeMessage]
|
||
|
* @property {boolean} [allowUserClose=false]
|
||
|
* @property {string} [newThreadCategoryId]
|
||
|
* @property {string} [mentionRole="here"]
|
||
|
* @property {boolean} [pingOnBotMention=true]
|
||
|
* @property {*} [botMentionResponse]
|
||
|
* @property {*} [inboxServerPermission]
|
||
|
* @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]
|
||
|
* @property {*} [greetingMessage]
|
||
|
* @property {string} [greetingAttachment]
|
||
|
* @property {*} [guildGreetings={}]
|
||
|
* @property {number} [requiredAccountAge] Required account age to message Modmail, in hours
|
||
|
* @property {*} [accountAgeDeniedMessage="Your Discord account is not old enough to contact modmail."]
|
||
|
* @property {number} [requiredTimeOnServer] Required time on server to message Modmail, in minutes
|
||
|
* @property {*} [timeOnServerDeniedMessage="You haven't been a member of the server for long enough to contact modmail."]
|
||
|
* @property {boolean} [relaySmallAttachmentsAsAttachments=false]
|
||
|
* @property {number} [smallAttachmentLimit=2097152] Max size of attachment to relay directly. Default is 2MB.
|
||
|
* @property {string} [attachmentStorage="local"]
|
||
|
* @property {string} [attachmentStorageChannelId]
|
||
|
* @property {*} [categoryAutomation]
|
||
|
* @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]
|
||
|
*/
|