We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord API allows for fetching of a single message. See Get Channel Message.
However, this is not implemented in Discordie.
Maybe this can be implemented as ITextChannel.fetchMessage(messageId).
ITextChannel.fetchMessage(messageId)
Method and URL: GET https://discordapp.com/api/channels/223147496579999744/messages/248127708507114193
GET https://discordapp.com/api/channels/223147496579999744/messages/248127708507114193
Headers:
Authorization: Bot <My Token>
User-Agent: DiscordBot (None, 0.0.01)
Content-Type: application/json
Response:
{ "attachments": [], "tts": false, "embeds": [], "timestamp": "2016-11-15T16:50:55.698000+00:00", "mention_everyone": false, "id": "248127708507114193", "pinned": false, "edited_timestamp": null, "author": { "username": "Shantanu", "discriminator": "7372", "id": "210537673643444741", "avatar": "fd59a85912967b6b70a4dbad01f0ad72" }, "mention_roles": [], "content": "test", "channel_id": "223147496579999744", "mentions": [], "type": 0 }
The text was updated successfully, but these errors were encountered:
I'm going to note here for anyone else wanting to use this feature that it is already in the lib on the dev branch.
Sorry, something went wrong.
Thanks! For reference to others: https://github.com/qeled/discordie/blob/dev/lib/interfaces/ITextChannel.js#L143-L159
No branches or pull requests
Discord API allows for fetching of a single message. See Get Channel Message.
However, this is not implemented in Discordie.
Maybe this can be implemented as
ITextChannel.fetchMessage(messageId)
.Example:
Method and URL:
GET https://discordapp.com/api/channels/223147496579999744/messages/248127708507114193
Headers:
Authorization: Bot <My Token>
User-Agent: DiscordBot (None, 0.0.01)
Content-Type: application/json
Response:
The text was updated successfully, but these errors were encountered: