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

Cannot read property Hits #61

Closed
herngyu06 opened this issue May 1, 2020 · 6 comments
Closed

Cannot read property Hits #61

herngyu06 opened this issue May 1, 2020 · 6 comments

Comments

@herngyu06
Copy link

TypeError: Cannot read property 'hits' of undefined
at LyricsCommand.run (C:\Users\Nicholas Lee\Downloads\Master-Bot-master\commands\music\lyrics.js:56:38)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async CommandoMessage.run (C:\Users\Nicholas Lee\Downloads\Master-Bot-master\node_modules\discord.js-commando\src\extensions\message.js:235:20)
at async CommandDispatcher.handleMessage (C:\Users\Nicholas Lee\Downloads\Master-Bot-master\node_modules\discord.js-commando\src\dispatcher.js:143:19)

Hi, if you can help me with that, i will feel appreciated

@galnir
Copy link
Owner

galnir commented May 1, 2020

Did you generate the correct lyrics api key?

@herngyu06
Copy link
Author

Ok fixed

@herngyu06
Copy link
Author

But
another problem here xD
image

@herngyu06
Copy link
Author

but why like that

@herngyu06
Copy link
Author

ok, iknow why. I fixed it!

@galnir
Copy link
Owner

galnir commented May 1, 2020

@NicholasLee06 Discord embed description can't be longer than 2000 and something characters if I remember correctly so the bot splits it to 2 embeds

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