modmail/config.example.js

42 lines
2.2 KiB
JavaScript
Raw Permalink Normal View History

2021-06-19 22:42:14 +02:00
// remove .example from the name to use this file, make sure to fill in the configs
module.exports = {
discordToken: '', // Discord bot token
galacticToken: '', // Token for Galactic's API for integration with Galactic Bot, not a thing yet
mainGuild: '', // main server of operation
bansGuild: '', // optional bans server for potential appeals processing
prefix: '!',
2021-07-09 14:29:17 +02:00
modmailCategory: [], // Should have 3 category IDs (AS STRINGS), main category (new), answered/waiting for reply, graveyard (old modmail channels getting ready for deletion)
2021-06-19 22:42:14 +02:00
context: 10, // How many messages to load for context
staffRoles: [], // Roles that have access to the bot commands
graveyardInactive: 60, // How long a channel should be inactive for in the graveyard before deletion
readInactive: 30, // How long a channel should be inactive for in the read category before moving to graveyard
channelSweepInterval: 10, // How often channel transitions should be processed in minutes
saveInterval: 1, // How often modmail history should be written to file in minutes
sudo: [], // Array of IDs (user or role) that have elevated access to the bot, i.e. eval, disable and any other elevated permission commands
2021-06-19 22:59:42 +02:00
anonColor: 0, // A colour value, 0 will default to the bot's highest coloured role
2021-06-20 19:14:29 +02:00
modmailReminderInterval: 10, // How often the bot should send a reminder of x new modmails in queue
modmailReminderChannel: '', // channel to send reminders in
2021-06-21 16:53:51 +02:00
logChannel: '', // Channel in which modmail logs are sent
2022-01-27 14:01:41 +01:00
inlineResponse: null, // The response the bot gives when a user DMs the bot, null will have the bot use the default
2021-06-19 22:42:14 +02:00
clientOptions: {
intents: [ // Needs at least these
'GUILDS',
'GUILD_MEMBERS',
'DIRECT_MESSAGES'
],
presence: { // Playing status
activity: {
name: 'DM to contact Server Staff',
type: 'PLAYING'
}
}
},
loggerOptions: { // This is for logging errors to a discord webhook
webhook: { // If you're not using the webhook, disable it
2021-06-19 22:42:14 +02:00
disabled: true,
id: '',
token: ''
}
}
};