From the wonderful RedGuides Wiki

This command is added by MQ2Discord

Syntax Key
Notation Description
Text without brackets or braces Required items
<Text inside angle brackets> Placeholder for which you must supply a value
[Text inside square brackets] Optional items
Vertical bar (|) Separator for mutually exclusive items; choose one
{Text | inside | braces} Set of required items; choose one
Ellipsis () Items that can be repeated
Syntax /discord {reload|process|debug|stop}
Description Sends commands to be processed by the config file, reloads the config file, and controls debugging.


Option Description
reload Reloads the .yaml file, useful when making changes.
process Will allow you to send a command to be processed by your config under allowed, blocked or notify. See example.
debug toggles debug mode on or off
stop issues a stop command for debugging


Here's an example Knightly made of using the /discord process option with MQ2Say,

In your MQ2Discord.yaml, set an alert for MQ2Say under notify:

        - "[MQ2Say]#*#"

In your MQ2Say.ini, set the "/discord process" option like this:

AlertCommand=/discord process [MQ2Say] ${SayWnd.LastSpeaker} says: ${SayWnd.LastSay}

See also