Creates an instance of InteractionsSelfRoleManager.
Optional
client: ClientThe client that instantiated this Manager
Optional
options: InteractionsSelfRoleOptions = ...Readonly
channelsThe collection of registered channels.
Readonly
clientThe client that instantiated this Manager
Readonly
optionsThe options of the manager.
Protected
generateProtected
getReturns the RTE (and its role) based on the emoji provided.
the button component or message reaction
the channel options
Optional
emoji: null | GuildEmoji | ReactionEmoji | APIMessageComponentEmojithe emoji clicked
The proper RoteToEmojiData
Protected
handleHandle the behaviour once a user adds a reaction or clicks on a button.
the user action, whether it is a reaction or a button interaction
Registers a channel. When a user reacts to the message in it, a role will be given/removed.
Protected
sendsHandle the registering of a channel, sending the main message for the automated role-giver system.
Protected
userProtected
userProtected
userProtected
user
A class that manages self-assignable roles using interactions.
Export