messageid

Get Message By ID: Discord.js

我只是一个虾纸丫 提交于 2020-06-08 17:01:12
问题 I am doing a report system for a discord bot and I want the player to report a specific message by the id so that the moderators can decide if it is offensive or not. I am struggling to find a way to get the message's text from the given id. Is there a possible way of doing this? 回答1: You can retrieve a message by id through msg.channel.fetchMessage(); The documentation is here. If you want to be able to retrieve a message from any channel by id, you can loop through all channels and catch

Get Message By ID: Discord.js

守給你的承諾、 提交于 2020-06-08 17:00:47
问题 I am doing a report system for a discord bot and I want the player to report a specific message by the id so that the moderators can decide if it is offensive or not. I am struggling to find a way to get the message's text from the given id. Is there a possible way of doing this? 回答1: You can retrieve a message by id through msg.channel.fetchMessage(); The documentation is here. If you want to be able to retrieve a message from any channel by id, you can loop through all channels and catch

Is is possible to specify my own Message-Id email header when sending using Mandrill?

匆匆过客 提交于 2019-12-02 10:08:15
问题 I am sending emails using Mandrill and I want to set the Message-ID myself. I see now an ID like this: Message-Id: <30152892.20150311183809.55008b919f0c49.69649774@mail132-29.atl131.mandrillapp.com> What I am trying to do is to find out why Gmail does not group messages sent from Mandrill into conversations. Maybe this has to do with the Message-ID and In-Reply-To headers. I am using the Mandrill Node API and the sendTemplate function has an option to set headers . But this is not working