Files
revanced-bots/bots/discord/docs/1_configuration.md
PalmDevs 7e5f6481c5 feat(bots/discord)!: read commit description
FEATURES:
- Updated documentation
- Improved configuration format
- Allow filter overriding for each response config (closes #29)
- Improved commands directory structure
- Improved slash command reload script
- New commands
- New command exception handling
2024-06-24 18:23:36 +07:00

996 B

⚙️ Configuration

You will need to copy config.example.ts to config.ts to be able to start the bot, as it is the default configuration.


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