Closed NekoSuneVR closed 3 years ago
This is not a bug, you're passing the variable currentPage
to the option of embeds
which holds a primitive value of 0
aka a number, you're supposed to pass embeds[currentPage]
to access the wanted embed data.
ah ok, but everythign else same?
ah ok, but everythign else same?
Try it and see, for more questions like this checkout the offical discord.js support server.
k thank you
Please describe the problem you are having in as much detail as possible:
The MessageEmbed returning error on line 81 in
this.color = 'color' in data ? Util.resolveColor(data.color) : null;
by sayingTypeError: Cannot use 'in' operator to search for 'color' in 0
i have color code set by HEX with # and it just mainly crashes my bot over and over when command embed not working.
since im updating bot from v12 to v13, some codes fully break when exact info i found update code from v12 to v13 on @ https://discordjs.guide/additional-info/changes-in-v13.html
LIB i using for Music is
discord-music-player@8.0.1
Include a reproducible code sample here, if possible:
Further details:
Relevant client options: