Skip to content

Running commands

archfan edited this page Aug 28, 2019 · 1 revision

Running commands via the relay

Wiki pages on logins/commands assume the user is using the default command prefix of !.

Running commands from the relay requires the user to be logged in. See Logging in for more information.

If the user is logged in, they can invoke commands from Discord in one of two places:

  • In the relay channel as specified in relay.conf.
  • In DMs (Direct Messages) with the bot.

In either case, the command output will be directed to where the command was invoked.

Invoking commands

The user may invoke commands with the following syntax:

!cmd <command name> [command params]

If the command is not found, Command not found: <command name> will be returned. Similarly, if the user does not have the required permissions to run the command, Insufficient privileges will be returned. Lastly, if the user running the command is banned on Minetest, they will be blocked from using commands entirely (except for the !status command.)

Otherwise, the command will be executed and any output returned.

Clone this wiki locally