Skip to content

A excellent, basic utility for your cool JDA (Java Discord API) Bots.

License

Notifications You must be signed in to change notification settings

FatihElmas/GzzJDA

Repository files navigation

GzzJDA

A excellent, basic utility for your cool JDA (Java Discord API) Bots.

Usage

Usage for GzzJDA

Commands

@CommandParams(
prefix = "gzz!", // Prefix for your Command
aliases = {"ex", "examp"}, // Command Aliases
name = "example", // Command
permissions= {Permission.ADMINISTRATOR, Permission.MANAGE_CHANELL...}, // Permissions for command
status = true, // State for Command same as Active/Deactive. 
cooldown = 10 // Cooldown with seconds format
)
public class ExampleCommand implements Command {

    @Override
    public void execute(CommandEvent e) {
      // code...
    }
  
    public void onPermissionError(CommandEvent e) { // Calling when users privileges not enough to executes command.
      // code...
    }

    public void onCooldownError(CommandEvent e) { // Calling when user uses command but in cooldown.
      // code...
    }

}

About

A excellent, basic utility for your cool JDA (Java Discord API) Bots.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages