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

Bot not responding to commands #29

Closed
KaToRa192 opened this issue Sep 25, 2020 · 7 comments
Closed

Bot not responding to commands #29

KaToRa192 opened this issue Sep 25, 2020 · 7 comments

Comments

@KaToRa192
Copy link

Hello again, is there something wrong with the command that I don't understand. Because i tried using with prefix and it doesn't seem to respond.
Screenshot_7

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@Ayfri
Copy link
Member

Ayfri commented Sep 25, 2020

You have to create yourself the message event, it's totally normal that the but is not responding.

You can get exemples of message events in my advanced-command-handler-examples repo.

@Ayfri Ayfri closed this as completed Sep 25, 2020
@KaToRa192
Copy link
Author

ok thank you!

@Ayfri Ayfri changed the title Commands Bot not responding to commands Sep 25, 2020
@Ayfri Ayfri pinned this issue Sep 25, 2020
@liam-gen
Copy link

liam-gen commented Oct 3, 2021

I cannot find the event message on this repo

@Ayfri
Copy link
Member

Ayfri commented Oct 3, 2021

It's now named messageCreate as the choice of discord.js to name it differently, the guide is not up-to-date for now because I don't have much time for it.

But you just have to use the useDefaultEvents() function to use the default messageCreate event.

@liam-gen
Copy link

liam-gen commented Oct 3, 2021

And what do I put in this event?

@Ayfri
Copy link
Member

Ayfri commented Oct 3, 2021

What do you mean ? You could include an object as an argument to customize how you want the event to work, but there's nothing to do with the event directly.

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