-
Notifications
You must be signed in to change notification settings - Fork 3
2. Configuration
Tien Dat Pham edited this page Feb 18, 2022
·
6 revisions
-
client
: Represents for bot settings-
token
: Self-explanatory -
private_guilds
: An array of your private guild IDs (for faster command loading) -
slash_commands_for_global
:true
if you want your commands to be public,false
otherwise
⚠️ Warning- Set a value for both fields above mostly results in "command duplication" (commands appearing twice) situation
- Sometimes the duplication happens randomly
- Only put the guild IDs where the bot is in (if you are using
private_guilds
field) - Enabling commands for global will take a long time to reach out guilds
-
support_guild_invite_link
: URL to your support guild of the bot -
activity
: Client activity such as "Playing osu!"-
type
: Activity type- Accepted values:
Playing
,Watching
,Competing
,ListeningTo
- Accepted values:
-
name
: Name of activity -
status
: Discord status- Accepted values:
Online
,Invisible
,Idle
,DoNotDisturb
- Accepted values:
-
-
-
credentials
: Basic credentials in order to make the bot run w/o any potential issues-
postgresql
: Credentials for database. Follow this guide first-
username
:{USERNAME}
when you setup the database -
password
:{PASSWORD}
when you setup the database -
database_name
:{DATABASE_NAME}
when you setup the database -
host
: IP Address/Hostname of your database host,localhost
by default -
port
: Port number of your database host,5432
by default
-
-
osu
: Credentials for osu! commands. How-to-get- Can be ignored, but the commands won't work
-
lavalink
: Credentials for Lavalink. Remember to install lavalink first-
password
: Lavalink password,youshallnotpass
by default (position inapplication.yaml
) -
host
: IP Address/Hostname of your database host,localhost
by default (position inapplication.yaml
,0.0.0.0
andlocalhost
is the same) -
port
: Port number of your database host,2333
by default (position inapplication.yaml
)
-
-