Alchemy.Client.remove_reactions
You're seeing just the function
remove_reactions
, go back to Alchemy.Client module for more information.
Link to this function
remove_reactions(message)
Specs
remove_reactions(Alchemy.Message.t() | {channel_id(), message_id()}) :: {:ok, nil} | {:error, term()}
Removes all reactions from a message.
Requires the MANAGE_MESSAGES
permission.
Examples
Cogs.def psyche do
{:ok, message} = Cogs.say("react to this")
Process.sleep(10000)
Client.delete_reactions(message)
end