Skip to content
Devin Spikowski edited this page Jan 25, 2018 · 14 revisions

Discord

discord-config.json
Changes to this file do not require running build again

Sample

{
  "token": "aT4SfVx09_44i9obsw34gJ.45zxjg_JEDOR_n-mgROER-IEri9obsw3",
  "servers": [
    {
      "id": "1234567891234567",
      "default": true,
      "ignoreChannels": ["members-Only","testing"]
    }
  ]
}

Property list

  • 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.

Server object

  • 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 equal true for exactly one server in your servers 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 with listenChannels
  • listenChannels array, optional - Listen to messages only in these channels. You can use channel IDs or names. Can not be used together with ignoreChannels
  • 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

socket-config.json

Misc

misc-config.json

Clone this wiki locally