Sending Commands to the Game

On this page you can get information about the command sending system to the game.

System

You can allow the specified commands to the roles specified in the settings file and have those commands sent to the game.

For example, if you give Y command permission to the X role, people in this role can send the Y command to the game with /command Y.

You can also log to a channel.

Configuration File

cmd_usage_discord_to_game:
  status: true # Should the mode for sending commands to the game be active?
  cmdsLogs: '1258550213539397632' # Should logs for the sent commands be kept? If you don't want to log them, you can write null.
  roles_and_cmds: # Roles and the commands they can use are configured here.
    '1251962081830240396': # role id
      - 'say' # The commands they can use; only the main command should be written. Do not put a / at the beginning.

Last updated