Skip to content

1.82

Compare
Choose a tag to compare
@tsebring tsebring released this 24 Dec 23:22

Features

  • Added access control settings to Discord commands.
  • Added additional logging and error messages to Discord command handler.

Bug fixes

  • Fixed enabled channels for Discord commands.
  • Corrected map offsets for Aberration.

Changes to config.json

New Discord bot configuration section with access control for Discord commands.

{
  "discord": {
    "accessControl": {
      "channels": {
        "public": [ "@everyone", "admin", "developer" ],
        "private": [ "@everyone", "admin", "developer" ]
      },
      "commands": {
        "admin": [ "admin", "developer" ],
        "cloud": [ "admin", "developer" ],
        "rcon": [ "admin", "developer" ],
        "debug": [ "developer" ],
        "commands": [ "@everyone" ],
        "version": [ "@everyone" ],
        "servers": [ "@everyone" ],
        "linksteam": [ "@everyone" ],
        "unlinksteam": [ "@everyone" ],
        "whoami": [ "@everyone" ],
        "disabled": [ "@everyone" ]
      }
    }
  }
}

Removed adminRoleName and developerRoleName from config.