Skip to content
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

Issue when i do the 'info' command #2

Open
colbeagle opened this issue Oct 13, 2021 · 1 comment
Open

Issue when i do the 'info' command #2

colbeagle opened this issue Oct 13, 2021 · 1 comment

Comments

@colbeagle
Copy link

Hi, i got a issue when i do the 'info' command.
Here the error.

/home/discord-plays-pokemon/node_modules/discord.js/src/structures/MessageEmbed.js:432
if (!value) throw new RangeError('EMBED_FIELD_VALUE');
^

RangeError [EMBED_FIELD_VALUE]: MessageEmbed field values may not be empty.
at Function.normalizeField (/home/discord-plays-pokemon/node_modules/discord.js/src/structures/MessageEmbed.js:432:23)
at /home/discord-plays-pokemon/node_modules/discord.js/src/structures/MessageEmbed.js:452:14
at Array.map ()
at Function.normalizeFields (/home/discord-plays-pokemon/node_modules/discord.js/src/structures/MessageEmbed.js:451:8)
at MessageEmbed.addFields (/home/discord-plays-pokemon/node_modules/discord.js/src/structures/MessageEmbed.js:266:42)
at MessageEmbed.addField (/home/discord-plays-pokemon/node_modules/discord.js/src/structures/MessageEmbed.js:257:17)
at Object.execute (/home/discord-plays-pokemon/dist/commands/Info.js:22:22)
at DiscordClient. (/home/discord-plays-pokemon/dist/DiscordClient.js:118:33)
at step (/home/discord-plays-pokemon/dist/DiscordClient.js:33:23)
at Object.next (/home/discord-plays-pokemon/dist/DiscordClient.js:14:53) {
[Symbol(code)]: 'EMBED_FIELD_VALUE'
}

Can someone help me ?
Thanks alot.

@colbeagle colbeagle changed the title Issue when i do the info command Issue when i do the 'info' command Oct 13, 2021
@DrSkunk
Copy link
Owner

DrSkunk commented Dec 9, 2021

Hiya @colbeagle , this is probably because the Discord.js library that's currently used needs to be updated. I currently don't have a plan for when to do this though, since it's a big chunk to do.

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

No branches or pull requests

2 participants