-
Notifications
You must be signed in to change notification settings - Fork 1
6) Prefixed Slash Commands
This feature lets you to make slash commands usable with prefix!
Creation of the file is same as slash commands.
Now you can just add your in-file config and start coding!
Include the config properties from slash commands.
This should be defined in your in-file config if you want prefixed command to work.
This will be used while handling the prefixed command.
Example situation: If your prefix is !
and your command's prefix name is hello
whenever someone types !hello
to a text channel that your bot can see this command file will be triggered.
This is an optional property and false
by default.
If you want your command to get triggered by using it adds this property.
This is an optional property and false
by default.
If you want your prefixed command to be able to run in DMs add this property.
This is an optional property and false
by default.
If you want your prefixed command to be able to run by bots add this property.