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

Help! My code doesn't work!!! #223

Open
gamer167 opened this issue May 27, 2022 · 6 comments
Open

Help! My code doesn't work!!! #223

gamer167 opened this issue May 27, 2022 · 6 comments

Comments

@gamer167
Copy link

I made a command named ping and when I saved the code I restarted my bot and it printed out in the terminal "0 commands loaded." BUT, I have 1 command. How do I fix this?

@AstroTheAstronaut
Copy link

I have the same issue right now.
It occurs only when I use Javascript. Typescript works okay, but for deployment purposes I want to use JS.
The problem is, it doens't see the commands when I use JS.

@tippfehlr
Copy link
Contributor

You have to set the typescript value in the wokcommands options to false

@gamer167 gamer167 reopened this Jun 11, 2022
@gamer167
Copy link
Author

I try later.

@gamer167
Copy link
Author

You have to set the typescript value in the wokcommands options to false

I tried and it pooped out another error.

@tippfehlr
Copy link
Contributor

I tried and it pooped out another error.

I mean when you compile it to javascript. Could you please post the error?

@gamer167
Copy link
Author

gamer167 commented Oct 11, 2022 via email

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

3 participants