Fill in this inforamtion in the /.secrets.json
file. (most information is required to run the bot)
{
"token": "TOKEN",
"clientSecret": "CLIENT_SECRET",
"intents": ["INTENT"],
"port": 3000,
"redeploy": true,
"prefix": "",
"developer": ["DEVELOPER_ID"],
"supportServer":"SUPPORT_SERVER_ID",
"statusInterval": 350000,
"description": "",
"repository": "USER_NAME/REPOSITORY_NAME",
"version": "3.0.1"
}
token
: String
The bots login token (Generated from the discord developer portal).
clientSecret
: String
The bots client secret (Generated from the discord developer portal).
intents
: Array
The bots intents.
port
: Integer
The port number your bots app will listen at (defults 80
, 443
).
reDeploy
: Boolean
Weather or not to reregister the slash commands.
prefix
: String
The prefix used to execute commands.
developer
: Array
The developers of the bot.
supportServer
: String
The ID of the support server.
statusInterval
: Number
The interval to cycle to the next value in the status array.
description
: String
The descrption of the bot.
repository
: String
The GitHub repository of the bot.
version
: String
Ther version of your the bot.
You can ask for help, report problem and help others in our discord server!
You can invite our default discord bot to your server to see that this code works!
MIT License | Copyright Ⓒ 2021 aroary
Other documentation pages