How Prefix Commands Work
InfinityBot uses a few prefix commands. You can read more about them below.
About Prefix Commands
Prefix commands are basically commands that have a symbol infront of them. Instead of sending them via Discord like slash commands (/
), you send them directly in chat. InfinityBot uses !
as prefix.
You can get a list with all prefix commands you can use by sending !prefix
in chat or by visiting the prefix page.

Setup
Custom Prefix
You can set a custom prefix with the !set-prefix
command.
Command Channel
You can select a command channel with the !cmnd-channel
command. Users will then only be able to use prefix commands in that channel.
Prefix Command Options
Prefix commands can also have options. These can be added after the command, for example to ban a user, the option would be the user and the reason of the ban.
This would be the template of the ban command: !ban @user reason
This would be the way you use it in a channel: !ban @knight spamming
, replacing the options.

Reply Option
You can also target a message with prefix commands by replying to it. This can only be done if you need to target a message, for example when using the !pin
command.

Last updated
Was this helpful?