createOption

system.createOption(EMOJI, ADD_MESSAGE, REMOVE_MESSAGE, [ ROLES_TO_ADD ]);

Parameter

Type

Description

EMOJI

String

Emoji to be reacted

ADD_MESSAGE

String

Message to be sent to the user when user reacts

REMOVE_MESSAGE

String

Message to be sent to the user when user removes reaction

ROLES_TO_ADD

String Array

Role IDs to add to the user

You can add unlimited amount of role IDs

If you want precise emoji verification, specify the emoji ID

Example:

const opt1 = system.createOption("754801855174803543", "add1", "remove1", [ "712031013152489493" ]);
const opt2 = system.createOption("754801924238213190", "add2", "remove2", [ "712031055841984514" ]);