generated from imranbarbhuiya/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
https://github.com/imranbarbhuiya/TagScript/issues/119#issuecomment-1273972081
How do I fix this issue?
This definitely needs to be changed but it'll be a breaking change so create a new issue and I'll fix it in the next major release (not very soon tho) till then you can fix it like this
const embedData = result,actions.embed;
if (embedData) {
if(typeof embedData.thumbnail === 'string') embedData.thumbnail = {url: embedData.thumbnail};
// same for image
embed = = new EmbedBuilder(embedData);
}Originally posted by @imranbarbhuiya in #119 (comment)