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);
}
#119 (comment)
Originally posted by @imranbarbhuiya in #119 (comment)
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
#119 (comment)
Originally posted by @imranbarbhuiya in #119 (comment)