Skip to content

Commands

Roj edited this page Feb 11, 2022 · 11 revisions

Xor commands are called this way:

<prefix><command_name_or_alias> [...arguments]
[input]

The <prefix> should be either \ or >.

Note that you cannot use custom prefixes as for now.

Also, the current two prefixes have their special meanings which will be clarified below.

Here’s an example of a simple command call:

\ping

Or one with arguments:

\sh whoami

Inputs

Excluding the arguments, commands can accept longer content called inputs.

If the prefix you use is \, the input will be all of your command message excluding the first line which includes the command trigger and the arguments. But if the prefix you use is >, the input will be the text of the message which was replied.

To make this clearer, we can take a look at the built-in shell command which takes use of the input you provide.

Clone this wiki locally