modmail/config.example.js

41 lines
2.0 KiB
JavaScript
Raw 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: '!',
modmailCategory: [], // Should have 3 category IDs, main category (new), answered/waiting for reply, graveyard (old modmail channels getting ready for deletion)
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
evalAccess: [], // Array of IDs that should have access to the bot's eval function
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
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
disabled: true,
id: '',
token: ''
}
}
};