-
Notifications
You must be signed in to change notification settings - Fork 74
Configuration
Devin Spikowski edited this page Jan 25, 2018
·
14 revisions
discord-config.json
Changes to this file do not require running build
again
{
"token": "aT4SfVx09_44i9obsw34gJ.45zxjg_JEDOR_n-mgROER-IEri9obsw3",
"servers": [
{
"id": "1234567891234567",
"default": true,
"ignoreChannels": ["members-Only","testing"]
}
]
}
-
token
string, required - Your bot's token, found here -
servers
array, required - An array of server objects to make accessible to D-Zone. Your bot must already be in these servers.
-
id
string, required - The snowflake ID of the server. This can be found in Discord under Server Settings > Widget -
default
boolean, required once - This property must exist and equaltrue
for exactly one server in yourservers
array. It determines which server comes up by default for a new visitor. -
password
string, optional - Adding this property will prompt the user for a password when connecting -
ignoreChannels
array, optional - Ignore messages in these channels. You can use channel IDs or names. Can not be used together withlistenChannels
-
listenChannels
array, optional - Listen to messages only in these channels. You can use channel IDs or names. Can not be used together withignoreChannels
-
ignoreUsers
array, optional - Ignore messages from these users. User IDs must be used. -
alias
string, optional - Change the name of your server as it appears in D-Zone
socket-config.json
misc-config.json