Skip to content

Method not found SendMessageAsync() in .net 5.0 #35

@NightKnight077

Description

@NightKnight077

I am getting the below error when trying to send a paginated message to a channel using .net 5.0 and Discord.Net 2.4.0.

I am confused as I thought this was fixed in pull request #34 for issue #33 but I am still seeing the issue in my code. Is there something I am missing?

---> System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task1<Discord.Rest.RestUserMessage> Discord.WebSocket.ISocketMessageChannel.SendMessageAsync(System.String, Boolean, Discord.Embed, Discord.RequestOptions)'. at Discord.Addons.Interactive.PaginatedMessageCallback.DisplayAsync() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Discord.Addons.Interactive.PaginatedMessageCallback.DisplayAsync() at Discord.Addons.Interactive.InteractiveService.SendPaginatedMessageAsync(SocketCommandContext context, PaginatedMessage pager, ICriterion1 criterion)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions