Waitformessageasync returns null everytime. #1421
-
im trying to create a setup wizard for a command but i cannot seem to properly listen for the users message. interactivity.WaitForMessageAsync(c => true); i have it as a 100% true so it should just pickup the next message the bots sees but it does not and times out after 60 seconds everytime. heres the full func below it isnt pretty because i have not gotten past this hiccup yet. Been at this for 2 days please someone just find me an ez fix and make me look stupid :) i also have this in my main loop where i initialize the bot.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
On the latest nightly version 4.3.0 01189 my console is also filled with exceptions that have to do with interactivity aswell.
|
Beta Was this translation helpful? Give feedback.
-
As for why your code is timing out, that'd require some further investigation. It's certainly not the message intent, as you'd see an exception. DSharpPlus/DSharpPlus.Interactivity/InteractivityExtension.cs Lines 520 to 521 in a11a9ce |
Beta Was this translation helpful? Give feedback.
-
DSharpPlus.Interactivity depends on the enumerator implementation of ConcurrentHashSet version 1.1.0. I reverted back to version 1.1.0 and it resolved every issue! |
Beta Was this translation helpful? Give feedback.
DSharpPlus.Interactivity depends on the enumerator implementation of ConcurrentHashSet version 1.1.0.
I reverted back to version 1.1.0 and it resolved every issue!
thank you @VelvetThePanda and @Giggitybyte for the help in such short time!