config.json - sincetheflood/paladin GitHub Wiki
config.json
is a JSON file where the bot's configuration is stored.
bot
clientId
: The bot's client (user) ID. Required for registering the slash commandsguildId
: ID of the server the bot will be moderating. Required for registering the slash commandstoken
: The bot's token. Required to do anything with the bot
channels
reactions
id
: ID of the channel where reaction roles should be sent
scrapbook
id
: ID of the channel where reaction roles should be sentemoji
: Emoji that should be used to scrapbook messagesminimumReactions
: Minimum number of reactions required to send a message to the scrapbook a message
log
portal
id
: ID of the channel where users joining and leaving the server should be logged
warn
id
: ID of the channel where warning messages should be logged
kick
id
: ID of the channel where kick messages should be logged
ban
id
: ID of the channel where ban messages should be logged
unban
id
: ID of the channel where unban messages should be logged
edit
id
: ID of the channel where message edits should be sent
delete
id
: ID of the channel where message deletions should be sent
badWords
lazy
: Array containing a list of words that shouldn't be allowed as whole wordsgreedy
: Array containing a list of words that shouldn't be allowed anywhere in messages
reactionRoles
Array containing reaction role group objects
name
: Name of the reaction role groupcustomId
: ID of the reaction role group. Must be all lowercase, with spaces replaced by underscoresroles
: Array containing individual reaction role objectsid
: ID of the role that should be added/removedlabel
: Label of the reaction role buttonemoji
id
: ID of a custom server emoji. Should be set tonull
if a normal emoji is being usedname
: Name of a custom server emoji. Should be set to the emoji itself if a normal emoji is being used