config.json
Himmalerin edited this page Aug 31, 2021
·
4 revisions
config.json
is a JSON file where the bot's configuration is stored.
-
clientId
: The bot's client (user) ID. Required for registering the slash commands -
guildId
: ID of the server the bot will be moderating. Required for registering the slash commands -
token
: The bot's token. Required to do anything with the bot
-
reactions
-
id
: ID of the channel where reaction roles should be sent
-
-
scrapbook
-
id
: ID of the channel where reaction roles should be sent -
emoji
: Emoji that should be used to scrapbook messages -
minimumReactions
: 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
-
-
-
lazy
: Array containing a list of words that shouldn't be allowed as whole words -
greedy
: Array containing a list of words that shouldn't be allowed anywhere in messages
Array containing reaction role group objects
-
name
: Name of the reaction role group -
customId
: ID of the reaction role group. Must be all lowercase, with spaces replaced by underscores -
roles
: Array containing individual reaction role objects-
id
: ID of the role that should be added/removed -
label
: Label of the reaction role button -
emoji
-
id
: ID of a custom server emoji. Should be set tonull
if a normal emoji is being used -
name
: Name of a custom server emoji. Should be set to the emoji itself if a normal emoji is being used
-
-