discordx-ts / discordx

🤖 Create a discord bot with TypeScript and Decorators!

Home Page:https://discordx.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command parser ignores commands starting with global prefix when command has prefix set

sinjs opened this issue · comments

commented

What happened?

When setting the prefix for all commands to two prefix (for example $,!) and create a command which has the prefix set to $ in the SimpleCommand decorator, all other commands will no longer respond to the $ prefix

Reproduction

https://github.com/sinjs/discordx-prefix-bug-reproduce

Package

discordx

Version

Stable

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct