Commands - battlecatsultimate/PackPack GitHub Wiki

This section will explain about which type of commands exists, and what each commands does. In PackPack's command, they can be restricted by roles or can have cooldown as well.


Type of Commands

There are 4 types of commands in this bot.

Normal Commands

These commands can be used without any restriction. You can call it whenever, and any channels that are allowed to call the commands.

Constraint Commands

Constraint Commands are restricted by roles. If you don't have required role to call this command, bot will deny to perform the called command, and notice you that you have to have specific role to use it.

Timed Constraint Commands

Timed Constraint Commands require you not only specific role, but also to wait for cooldown to end. For example, once you use it, you have to wait for some amount of time to re-use it again. This is mainly because bot went through some heavy process such as generating images or gifs, so bot has potential problem that bot goes under very stressful situation if many users call this command at the same time. Also there's danger of spamming, so you are forced to wait for a bit to use this type of commands.

These commands' timer gets applied only to you. For instance, even though you used this command, this doesn't mean that any other users have to wait for cooldown to end like you.

Globally Timed Constraint Commands

Similarly like Timed Constraint Command, it has cooldown, but this cooldown is global. If one random user used this command, then all the other users have to wait for cooldown to end. Not many commands have this type.


Level

There are 4 types of level in this bot. Basically, it's some sort of rank for using commands. Users are required to satisfy condition (i.e. having role) to use them.

None

Users aren't required to have roles to use these commands. Some basic commands such as p!help, which unlikely give any impact on bot's performance have this level.

Member

Users must have role that is tagged as Member (This doesn't mean role's name must be Member). This gives concept that users are gated behind the role, making moderator able to perform giving permission to use most of commands to specific users or not. A lot of commands have this level, so you can assume that users who don't have Member can't use almost all commands. Of course, if moderator doesn't assign Member to the bot, anyone can use these commands

Moderator

Users must have role that is tagged as Moderator. Commands which have this role level must not be able to be used by normal users. Usually commands that touches server's preferences, or bot's behavior for that server have this level

Trusted

The commands which have this level may go under very heavy process, or require users to have deep knowledge on Battle Cat's data. These commands are allowed only for users who are acknowledged by Developer of bot.

Developer

These commands are usually unknown because they aren't listed in p!help command. They touch bot's stored data, or behavior which can affect all the servers that bot is in. Anyone other than developer can't use these commands.


Direct Message

Bot allows users to use commands via direct messages. But not all commands are allowed, especially for commands which touches server's preferences, or bot's behavior in the server. Bot will detect server-only commands still, but it will deny to perform, and tell you to use them in the servers.


List of Commands