A B C G I O S T 
All Classes All Packages

A

addSlashCommand(String, String, List<SlashCommandOption>, List<SlashCommandPermissions>, Server, CmdExecutor) - Method in class io.github.daflamingfox.CmdHandlerBuilder
Adds a slash command to the handler.
addTextCommand(String, String[], String, String, CmdExecutor) - Method in class io.github.daflamingfox.CmdHandlerBuilder
Adds a text command to the handler.

B

build() - Method in class io.github.daflamingfox.CmdHandlerBuilder
Builds the handler and activates all the commands.

C

CmdExecutor - Interface in io.github.daflamingfox
The executor for commands, has a method for text, and one for slash.
CmdHandlerBuilder - Class in io.github.daflamingfox
The main handler class, this is the manager for starting all the backend garbage.
CmdHandlerBuilder(DiscordApi, String) - Constructor for class io.github.daflamingfox.CmdHandlerBuilder
Creates a new CmdHandlerBuilder object

G

getApi() - Method in class io.github.daflamingfox.TxtCmd
Gets the DiscordApi of your bot.
getDescription() - Method in class io.github.daflamingfox.SlashCmd
Gets the description of the command.
getDescription() - Method in class io.github.daflamingfox.TxtCmd
Gets the command description.
getExecutor() - Method in class io.github.daflamingfox.SlashCmd
Gets the executor of the command.
getExecutor() - Method in class io.github.daflamingfox.TxtCmd
Gets the command executor.
getKeyword() - Method in class io.github.daflamingfox.TxtCmd
Gets the command keyword.
getKeywordAliases() - Method in class io.github.daflamingfox.TxtCmd
Gets the command keyword aliases.
getName() - Method in class io.github.daflamingfox.SlashCmd
Gets the name of the command.
getOptions() - Method in class io.github.daflamingfox.SlashCmd
Gets the options of the command.
getPermissions() - Method in class io.github.daflamingfox.SlashCmd
Gets the permissions of the command.
getPrefix() - Method in class io.github.daflamingfox.CmdHandlerBuilder
 
getPrefix() - Method in class io.github.daflamingfox.TxtCmd
Gets the command prefix.
getServer() - Method in class io.github.daflamingfox.SlashCmd
Gets the server the command is on.
getSlashCommands() - Method in class io.github.daflamingfox.CmdHandlerBuilder
 
getTextCommands() - Method in class io.github.daflamingfox.CmdHandlerBuilder
 
getUsage() - Method in class io.github.daflamingfox.TxtCmd
Gets the command usage.

I

io.github.daflamingfox - package io.github.daflamingfox
 

O

onMessageCreate(MessageCreateEvent) - Method in class io.github.daflamingfox.TxtCmdEventManager
Called when a message is created.
onSlashCommandCreate(SlashCommandCreateEvent) - Method in class io.github.daflamingfox.SlashCmdEventManager
The listener for if the command should be activated.

S

SlashCmd - Class in io.github.daflamingfox
The container for Slash Commands.
SlashCmd(String, String, Optional<List<SlashCommandOption>>, Optional<List<SlashCommandPermissions>>, Optional<Server>, CmdExecutor) - Constructor for class io.github.daflamingfox.SlashCmd
Creates a new SlashCmd object.
SlashCmdEventManager - Class in io.github.daflamingfox
Slash command event manager.
SlashCmdEventManager(DiscordApi, SlashCmd) - Constructor for class io.github.daflamingfox.SlashCmdEventManager
Constructor.
slashExecute(SlashCommandInteraction) - Method in interface io.github.daflamingfox.CmdExecutor
Executes the slash command.

T

textExecute(MessageCreateEvent, String[]) - Method in interface io.github.daflamingfox.CmdExecutor
Executes the text command.
TxtCmd - Class in io.github.daflamingfox
The container for Text commands.
TxtCmd(String, String, String[], CmdExecutor, DiscordApi, String, String) - Constructor for class io.github.daflamingfox.TxtCmd
Creates a new TxtCmd object.
TxtCmdEventManager - Class in io.github.daflamingfox
Text command Event Manager Creates and listens for the text command it is assigned to.
TxtCmdEventManager(TxtCmd) - Constructor for class io.github.daflamingfox.TxtCmdEventManager
Creates a new Text Command Event Manager.
A B C G I O S T 
All Classes All Packages