-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
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 sending embeds with no name, causing lib exception #3892
Comments
I dumped the raw data for one of the embeds causing this:
|
Just inspected the embed for readability: {
url: 'https://www.deadstock.ca/products/rototo-loose-pile-socks-yellow',
type: 'rich',
title: 'RoToTo Loose Pile Socks / Yellow',
thumbnail: {
width: 1000,
url: 'https://cdn.shopify.com/s/files/1/0616/3517/products/r10141023f19_rototo_loose_pile_socks_yellow_1.jpg',
proxy_url: 'https://images-ext-2.discordapp.net/external/zOsGJX7X5YPh6kpnA9aaeFToOl4nJlBW41-DzKqanmo/https/cdn.shopify.com/s/files/1/0616/3517/products/r10141023f19_rototo_loose_pile_socks_yellow_1.jpg',
height: 1000
},
footer: {
text: 'Shopify v9.0.3 | @AK by ZephyrMonitors [06:42:46]',
proxy_icon_url: 'https://media.discordapp.net/attachments/577593441886928897/640982567721631784/AK.png',
icon_url: 'https://cdn.discordapp.com/attachments/577593441886928897/640982567721631784/AK.png'
},
fields: [
{ value: '26.00 CAD (19.46 USD)', name: 'Price', inline: true },
{ value: '1+', name: 'Stock', inline: true },
{ value: '', name: '', inline: false },
{
value: '[MED](https://www.deadstock.ca/cart/31777347829845:1) | [QT](http://snkrsol.com/q?l=www.deadstock.ca/cart/31777347829845) [1+]',
name: 'ATC',
inline: true
},
{ value: '', name: 'ATC', inline: true },
{ value: '', name: '', inline: false },
{
value: '[ Product Quicktask](http://snkrsol.com/m?l=www.deadstock.ca/products/rototo-loose-pile-socks-yellow ) | [ Link Change](http://snkrsol.com/c?l=www.deadstock.ca/products/rototo-loose-pile-socks-yellow ) | [StockX](https://stockx.com/search?s=RoToTo%20Loose%20Pile%20Socks%20/%20Yellow) | [ Setup](http://quicktasks.snkrsol.com/manager ) | [ Feedback](https://www.zephyrmonitors.com/feedback )',
name: 'Links',
inline: false
}
],
color: 16777215,
author: {
url: 'https://www.deadstock.ca/',
name: 'https://www.deadstock.ca/'
}
} |
5 tasks
This comment has been minimized.
This comment has been minimized.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please describe the problem you are having in as much detail as possible:
Running a bot that is not sending any embeds every. Seeing
RangeError [EMBED_FIELD_NAME]: MessageEmbed field names may not be empty.
being thrown by the library, completely internally based on the error stack. This is causing the bot to completely crash.Include a reproducible code sample here, if possible:
Code doesn't really seem important here, would happen with any bot I assume.
Stack trace:
Further details:
The text was updated successfully, but these errors were encountered: