Discord Bot Maker

Discord Bot Maker

View Stats:
vu1ken Oct 23, 2020 @ 7:44pm
How to react to a message with a custom emoji
I've been trying to add a command that automatically makes the bot react to the command message with a custom emoji, but I can't seem to get it to work. I have been able to get it to react with a direct emoji, but not with a custom one. I've tried to have it find the emoji using the "Custom Emoji" field in the "Add Reaction" action, I've also tried storing the emoji as a server and temp variable and using that in the Source Emoji field. What could I be doing wrong?
< >
Showing 1-1 of 1 comments
aard Nov 2, 2020 @ 2:14am 
If you want, I can look in your RAW Data and see what is wrong, I quickly created one command and everything looks fine.

Instead of emoji I insert the name (without colons) and then the content of the message - if we define Variable - emoji must be in text form.

Take a look of this example:

[!prefix]reactcommand <emoji-name> [content of the message]

{ "name": "reactcommand", "permissions": "NONE", "restriction": "1", "_id": "OGmPa", "actions": [ { "message": "0", "varName": "", "info": "0", "ParamN": "1", "separator": "", "storage": "1", "varName2": "emoji", "count": "", "name": "Store Message Params" }, { "message": "0", "varName": "", "info": "1", "ParamN": "2", "separator": "", "storage": "1", "varName2": "content", "count": "", "name": "Store Message Params" }, { "channel": "0", "varName": "", "message": "${tempVars(\"content\")}", "storage": "1", "varName2": "messagesend", "iffalse": "0", "iffalseVal": "", "name": "Send Message" }, { "info": "1", "find": "${tempVars(\"emoji\")}", "storage": "1", "varName": "custemoji", "name": "Find Custom Emoji in Current Server" }, { "storage": "1", "varName": "messagesend", "emoji": "1", "varName2": "", "varName3": "custemoji", "name": "Add Reaction" } ], "comType": "0" }

Peace :ghost_small:
Last edited by aard; Nov 2, 2020 @ 2:15am
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Oct 23, 2020 @ 7:44pm
Posts: 1