!setconf - Stefouch/sebedius-yearzero-discord-bot GitHub Wiki
Sets the bot's configuration for your server.
Only a member with administrator rights can use this command.
!setconf <parameter> [new value]
If you omit the new value, it returns the current value.
Argument | Description |
---|---|
prefix [new prefix] |
Gets or sets the prefix for triggering the commands of the bot (can be ? or > or anything else). |
game [game code] |
Gets or sets the default game used (for dice skins and critical injuries tables). |
lang [language code] |
Gets or sets the default language (for translations). |
-
!setconf prefix
→ Gets the bot's current prefix. -
!setconf prefix ?
→ Sets the bot's prefix to?
. -
!setconf prefix prefix
→ Sets the bot's prefix toprefix
. D'Oh! -
!setconf game
→ Gets the current value for the "game" parameter. -
!setconf game t2k
→ Sets the game to Twilight 2000. -
!setconf game dtc
→ Returns an error. -
!setconf lang
→ Gets the current language code of the bot's default localisation. -
!setconf lang de
→ Switches the bot's default localisation to German.