You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be an interesting concept, but because the current API of the library expects an array of reaction-roles to be given as a parameter, the !radd command needs to do something to remember the updated list of roles to use them the next time the bot starts. This is something that discordjs-reaction-role does not handle at the moment because the current API is stateless and doesn't require a persistence engine, so I don't understand how would it work out.
It should be possible to build an interaction command with something like
{
"name": "radd",
"description": "Add a command",
"options": [
{
"type": 8,
"name": "role",
"description": "Role to grant or remove"
},
{
"type": 3,
"name": "emoji",
"description": "The reaction to use as trigger"
},
{
"type": 3,
"name": "message",
"description": "The message ID to use as trigger"
}
]
}
And definitely it should be possible to rebuild the reaction-role list, persist it somewhere, and then restart the reaction role system with
Can you add a command like !radd to add a reactionrole?
The text was updated successfully, but these errors were encountered: