Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

Edit embed message #306

Open
LionLionLion opened this issue Jan 22, 2019 · 4 comments
Open

Edit embed message #306

LionLionLion opened this issue Jan 22, 2019 · 4 comments

Comments

@LionLionLion
Copy link

The editMessage function take 3 parameters: channelID, messageID and message. No mention of embed.
https://izy521.gitbooks.io/discord-io/content/Methods/Channels.html

Is it possible to add the feature to edit a embed message (or update the documentation if it is already there) ?

@Peacerekam
Copy link

yes, its perfectly fine to use embed: instead of message: in there and it should work just fine.
docs aren't updated because d.io itself is in a "frozen" state with no updates.

@LionLionLion
Copy link
Author

Thank you a lot !
It works fine as you said :)

@b1lly
Copy link

b1lly commented Mar 21, 2019

Is it possible to get message attachments from the on.('message') ? doesn't seem to be part of the 'message' object that comes in, but it certainly is part of the discord API

@LionLionLion
Copy link
Author

You are not really in the correct discussion for that, but yeah you can.
Check the evt.d.attachments property.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants