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

Without Prefix(Please Reply) #4

Closed
Hassaan-7676 opened this issue Nov 21, 2021 · 2 comments
Closed

Without Prefix(Please Reply) #4

Hassaan-7676 opened this issue Nov 21, 2021 · 2 comments

Comments

@Hassaan-7676
Copy link

I wanna add a command that can be used by sending any thing like "hi", "test" without the prefix

@IHZAQ
Copy link

IHZAQ commented Nov 22, 2021

in config.json the prefix value is !. replace it with nothing

{
	"prefix": "",
	"colors": {
		"default": "any",
		"error": "any"
	}
}

Leave prefix alone

@GrosuN
Copy link
Collaborator

GrosuN commented Dec 27, 2021

For those simple cases you can just open the message event and add your command right before the bot tests for a prefix.
Hope this helps you. Have a nice day!

@GrosuN GrosuN closed this as completed Dec 27, 2021
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