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 does not respond to prefix commands (only Slash commands) #88

Closed
2 tasks done
Ao1Pointblank opened this issue Sep 14, 2021 · 2 comments
Closed
2 tasks done

Comments

@Ao1Pointblank
Copy link

Ao1Pointblank commented Sep 14, 2021

Describe the bug
The bot does not react to any input from chat except slash commands and the hardcoded !deploy command.
prefix is being typed without any whitespaces or typos. (example: !play, or |play). The prefix in config.json file is not read.

To Reproduce
Steps to reproduce the behavior:

  1. Be in voice channel with bot
  2. Attempt to run command

Expected behavior
Bot should respond with either an error or confirmation message

Desktop (please complete the following information):

  • OS: Linux Mint 20.2
  • CPU architecture: x86

Dependency versions:

  • Nodejs version: 16.9.1
  • YTDL-core version: 4.9.1

Additional context (optional)
Bot has the "Read Message History" permission added from discord dev portal.

Perhaps I need to add commands manually in "client.on("messageCreate", async (message) => { }" like the !deploy command??

Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
@TannerGabriel
Copy link
Owner

@Ao1Pointblank Yes, that is the current implementation since I thought that everybody would prefer using slash commands instead of commands with normal prefixes. It seems that I was wrong about that and will therefore implement prefix commands again when I find the time.

@Ao1Pointblank
Copy link
Author

@Ao1Pointblank Yes, that is the current implementation since I thought that everybody would prefer using slash commands instead of commands with normal prefixes. It seems that I was wrong about that and will therefore implement prefix commands again when I find the time.

Oh thank goodness that's what it was, and thank you!
I've never really gotten used to slash commands, sometimes i even misclick and trigger a command for another bot accidentally. Standard text commands can be copy-pasted faster... It's just what me and the people in my server always have done for whatever reason.

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