Discord.Addons.Interactive icon indicating copy to clipboard operation
Discord.Addons.Interactive copied to clipboard

System.Threading.Tasks.Task Discord.IUserMessage.RemoveReactionAsync Method not found

Open EzzatBoukhary opened this issue 5 years ago • 2 comments

Hello, Im using Discord.Addons.Interactive (latest version) and I recently updated to Discord.Net 2.2.0, it seems that the paged messages aren't working anymore. The bot adds the reactions but the ReactionAdded handler is throwing an unhandled exception when I react. Is there a way to fix this?

6:10 PM [Gateway] A ReactionAdded handler has thrown an unhandled exception.
Method not found: 'System.Threading.Tasks.Task Discord.IUserMessage.RemoveReactionAsync(Discord.IEmote, Discord.IUser, Discord.RequestOptions)'.
   at Discord.Addons.Interactive.PaginatedMessageCallback.HandleCallbackAsync(SocketReaction reaction)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Discord.Addons.Interactive.PaginatedMessageCallback.HandleCallbackAsync(SocketReaction reaction)
   at Discord.Addons.Interactive.InteractiveService.HandleReactionAsync(Cacheable`2 message, ISocketMessageChannel channel, SocketReaction reaction)
   at Discord.EventExtensions.InvokeAsync[T1,T2,T3](AsyncEvent`1 eventHandler, T1 arg1, T2 arg2, T3 arg3)
   at Discord.WebSocket.DiscordSocketClient.TimeoutWrap(String name, Func`1 action)
Method not found: 'System.Threading.Tasks.Task Discord.IUserMessage.RemoveReactionAsync(Discord.IEmote, Discord.IUser, Discord.RequestOptions)'.

EzzatBoukhary avatar Sep 02 '20 22:09 EzzatBoukhary

Could we have a look at your code?

OoLunar avatar Sep 07 '20 15:09 OoLunar

Answered in #33

TheStachelfisch avatar Apr 29 '21 22:04 TheStachelfisch