-
Notifications
You must be signed in to change notification settings - Fork 3
Configuring Discord Bot
Lewis L. Foster edited this page Apr 6, 2020
·
4 revisions
The flask web server configuration will look something like
"bot": {
"token": "dghihgihrighvnirigr",
"prefix": "f/",
"playingstatus": "for files",
"owner": {
"id": "123456789",
"name": "discord#1234"
},
"AuthUsers": [
123456789,
987654321
],
"webhook": {
"url": "discord.webhook.whatever.the.hell.goes.here",
"avatar_url": "webhook.avatar.link"
},
"Enabled": "True"
}
in Config.json. Here you can set the bot token, prefix, status, owner ID and username, users that are permitted to run commands, webhook information and whether the bot is enabled or not.
This defines the Discord bot token to login to Discord with
This defines the prefix for Discord bot commands
This defines the "watching" status of the bot
This defines the owner information for the bot
-
id
- Defines the bot owner ID -
username
- Defines the bot owner username
This defines the users authorized to use discord bot commands
This defines the Configuration for the web-hook for sending uploaded images to a discord channel
-
url
- String This is the URL for the web-hook, please see here for instructions on creating a web-hook. -
avatar_url
- String This is the avatar URL of the web-hook, can be any image URL
This enables or disables the bot functionality and also disables the web-hook functionality