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

TypeError: Cannot read property 'execute' of undefined #6

Closed
DevKilioZOfficiel opened this issue Nov 9, 2019 · 6 comments
Closed

Comments

@DevKilioZOfficiel
Copy link

Hey,
I have a problem. I install the bot, and i have this error. I have this error when I place an command.

image

@TannerGabriel
Copy link
Owner

It seems like you try to execute a command that doesn't exist in your case ,,!execute". This command is not part of my repository and I think you want to use the !play command instead which is the actual command for playing music (execute is just a function in the command definition).

Hope this helped you. If not just continue asking but please provide more details like minimal reproduction steps.

@DevKilioZOfficiel
Copy link
Author

Hi, I can test all the available commands. I still have that error with the bot message.

@TannerGabriel
Copy link
Owner

I personally don't get the error when using the repository and can thereby not help you if you don't send me more information about the issue and the minimal reproduction steps.

@ConnorBaxter
Copy link

I'm had the same issue and fixed it by setting the prefix back to default ('!'). I'm now getting a different error but I will attempt to fix it before reporting it as it could just be my installation.

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@TannerGabriel
Copy link
Owner

I'm very sorry that it took me so long to reproduce this issue but I finally managed to and fixed it by updating the ytdl-core version to the latest. I will also add better error logging to prevent errors like this in the future.

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

No branches or pull requests

3 participants