Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

discord bot c# interrupt CollectReactionsAsync

// I don't believe interrupting CollectReactionAsync is possible.
// My soloution was to instead have something like WaitForReactionAsync() to
// trigger the code below

message = await Ctx.Channel.GetMessageAsync(message.Id).ConfigureAwait(false); // Refresh message
var results = message.Reactions; // Gets messages reactions
 
PREVIOUS NEXT
Tagged: #discord #bot #interrupt #CollectReactionsAsync
ADD COMMENT
Topic
Name
2+9 =