DiscordChannel.GetMessageAsync returns no Reactions when command is running from a replied message
See original GitHub issueI’m trying to get the reactions of the message.
[Command("reactions")]
public async Task ReactionsCommand(CommandContext ctx)
{
var channel = ctx.Channel;
var emoji =await channel.GetMessageAsync(817299244008210443);
}
It works fine unless i reply to some other message with this command.
Basically, I want to get the reactions of the replied message, but when i reply with “+reactions”, DiscordChannel.GetMessageAsync returns everything except Reactions.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Can't get a message through RestUserMessage
The strange thing is that after restarting the program, if the command is not initialized, I can get messages from the channel.
Read more >CloudQueue.GetMessageAsync Method - Storage
Initiates an asynchronous operation to get a single message from the queue. GetMessageAsync(Nullable<TimeSpan>, QueueRequestOptions, OperationContext).
Read more >Reaction verify bot discord
Triggering the bot to send a PM to the user and giving him a rank.Discord Reaction Roles Bots Find the best Discord Reaction...
Read more >C# (CSharp) IMessageChannel.SendMessageAsync ...
</returns> public static async Task Log(string message) ... SendMessageAsync($"The command `{command}` already has no roles assigned to it!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure Using this code the msg.Reactions field will be “Count=0”
Ok I figured out how to get the reactions but it’s a bit spaghetti