Error: Message does not contain any buttons
Created by: KoenTech
Summary
Executing WaitForButtonAsync()
always thows an ArgumentException.
Details
When executing the WaitForButtonAsync()
method on a discord message it always throws an ArgumentException with the following message: "Message does not contain any buttons", even if the message does have buttons. I am using the following version: 4.2.0-nightly-00954
on .Net Core 3.1
I think it has to to with the second statement below, which seems to always be false.
Steps to reproduce
- Create a
DiscordMessageBuilder
object and add buttons to it - Send the message
- Call
await ctx.Client.GetInteractivity().WaitForButtonAsync(message);