zaida04 / guilded.js

A library for creating bots with the guilded.gg bot API.
https://guilded.js.org
MIT License
67 stars 15 forks source link

Add support for mentions #177

Closed WrenchX closed 1 year ago

WrenchX commented 1 year ago

Is your feature request related to a problem? Please describe. Guilded.js doesn't support https://www.guilded.gg/docs/api/channels/Mentions, which I need for my bot

Describe the solution you'd like Support it

Describe alternatives you've considered shrug

Additional context Add it and add it to massage content so I can send it with my embed.

zaida04 commented 1 year ago

Does https://guilded.js.org/classes/guilded_js.Message.html#mentions not suffice?

WrenchX commented 1 year ago

Does https://guilded.js.org/classes/guilded_js.Message.html#mentions not suffice?

Not really, since to send a message using https://guilded.js.org/classes/guilded_js.GlobalMessageManager.html#send, it needs to fit https://guilded.js.org/types/guilded_js.MessageContent.html, which doesn't have Mentions

zaida04 commented 1 year ago

Ohh, you are referring to sending a message with mentions. That's a limitation of the Guilded API, not the library. The API doesn't support plaintext mentions as of yet, unless they are contained in an embed.

zaida04 commented 1 year ago

Closing as there have been no further comments.