Skip to content

2. Configuration

Tien Dat Pham edited this page Feb 11, 2022 · 6 revisions
  • client: Represents for bot settings

    • 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
    • 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
      • name: Name of activity
      • status: Discord status
        • Accepted values: Online, Invisible, Idle, DoNotDisturb
  • credentials: Basic credentials in order to make the bot run w/o any potential issues

    • discord_token: Self-explanatory
    • db_password: Password for database
    • osu: Credentials for osu! commands. Watch here for guide
      • Can be ignored, but the commands won't work
Clone this wiki locally