ODJsonConfig_DefaultGeneralData interface
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
All contents of the general.json config file.
Properties
_INFO interface ➜ api.ODJsonConfig_DefaultInfo
This object contains a few URLs and metadata for the config.
globalAdmins array ➜ string[]
A list of discord role ids which are able to access all tickets & commands.
language string ➜ string
The language to use. Can be the id of the language or the id without the prefix when using opendiscord:....
mainColor type ➜ discord.ColorResolvable
The main (hex) color used in almost every embed in the bot.
prefix string ➜ string
The prefix used in all text-commands.
serverId string ➜ string
The id of the discord server where the bot is used.
slashCommands boolean ➜ boolean
Are slash commands enabled?
status interface ➜ api.ODJsonConfig_DefaultStatusType
All settings related to the status of the bot.
system interface ➜ api.ODJsonConfig_DefaultSystem
All settings related to the ticket system.
textCommands boolean ➜ boolean
Are text commands enabled?
token string ➜ string
The token of the bot. (Empty when using tokenFromENV)
tokenFromENV boolean ➜ boolean
Use the token from the .env file as TOKEN=xxxxx.