The activity status shown under the bot's name in the user list
This guild ID should be declared if you want its commands to update immediately during development
Log level in lower case. Can be [silent, error, warn, info, debug, trace]
The number of tries the sentence generator will try before giving up
The command prefix used to trigger the bot commands (when not using slash commands)
The minimum score required when generating a sentence. A relative "score" based on the number of possible permutations. Higher is "better", but the actual value depends on your corpus.
A list of Discord user IDs that have owner permissions for the bot
The slash command name to generate a message from the bot. (e.g. /mark
)
The stateSize is the number of words for each "link" of the generated sentence. 1 will output gibberish sentences without much sense. 2 is a sensible default for most cases. 3 and more can create good sentences if you have a corpus that allows it.
TZ name from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
Your Discord bot token
If provided, the standard "generate response" command will only work for a user in this list of role IDs.
Moderators and owners configured in ownerIds
do not bypass this check, so make sure to add them to a valid role as well.
The config file supports JSON5 syntax. It supports both
.json
and.json5
extensions if you prefer one over the other.Example: ```jsonc { "token": "k5NzE2NDg1MTIwMjc0ODQ0Nj.DSnXwg.ttNotARealToken5p3WfDoUxhiH", "commandPrefix": "!mark", "activity": "\"!mark help\" for help", "ownerIds": ["00000000000000000"], "logLevel": "info", } ```