Files
revanced-bots/bots/discord/docs/1_configuration.md
2024-06-24 18:23:37 +07:00

907 B

⚙️ Configuration

See config.ts.


config.owners

User IDs of the owners of the bot. Only add owners when needed.

config.guilds

Servers the bot is allowed to be and register commands in.

config.logLevel

The level of logs to print to console. If the level is more important or equally important to set level, it will be forwarded to the console.

The possible levels (sorted by their importance descendingly) are:

  • none
  • fatal
  • error
  • warn
  • info
  • log
  • debug

config.api.websocketUrl

The WebSocket URL to connect to (including port). Soon auto-discovery will be implemented.

config.messageScan

Please see the next page.

⏭️ What's next

The next page will tell you how to configure auto-responses.

Continue: 🗣️ Adding auto-responses