2022-03-29 15:35:38 +00:00
|
|
|
package moe.oko.Kiafumi.util;
|
|
|
|
|
2022-04-01 17:59:40 +00:00
|
|
|
/**
|
|
|
|
* Used to identify what type of Command is being used.
|
2022-05-17 01:50:46 +00:00
|
|
|
* This is intended to prevent JDA errors.
|
2022-04-01 17:59:40 +00:00
|
|
|
*/
|
2022-03-29 15:35:38 +00:00
|
|
|
public enum CommandType {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Commands that are registered using the upsertCommand method.
|
|
|
|
*/
|
|
|
|
COMMAND,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Commands that fall under above commands using the addSubcommand function.
|
|
|
|
*/
|
|
|
|
SUBCOMMAND
|
|
|
|
}
|