Package com.aliucord.api
Class CommandsAPI.CommandResult
-
- All Implemented Interfaces:
public class CommandsAPI.CommandResultCommand result
-
-
Constructor Summary
Constructors Constructor Description CommandsAPI.CommandResult()calls CommandResult with default arguments. CommandsAPI.CommandResult(String content)calls CommandResult with default arguments. CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send)CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send, String username)CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send, String username, String avatarUrl)CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send, String username, String avatarUrl, List<ButtonsAPI.ButtonData> buttons)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
CommandsAPI.CommandResult
CommandsAPI.CommandResult()
calls CommandResult with default arguments.
-
CommandsAPI.CommandResult
CommandsAPI.CommandResult(String content)
calls CommandResult with default arguments.
- Parameters:
content- Output message content
-
CommandsAPI.CommandResult
CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send)
- Parameters:
content- Output message contentembeds- Embeds to include in the command output.send- Whether to send the message or not.
-
CommandsAPI.CommandResult
CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send, String username)
- Parameters:
content- Output message contentembeds- Embeds to include in the command output.send- Whether to send the message or not.username- Username for Clyde's customization.
-
CommandsAPI.CommandResult
CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send, String username, String avatarUrl)
- Parameters:
content- Output message contentembeds- Embeds to include in the command output.send- Whether to send the message or not.username- Username for Clyde.avatarUrl- Avatar URL for Clyde, must be a direct link, not a redirect.
-
CommandsAPI.CommandResult
CommandsAPI.CommandResult(String content, List<MessageEmbed> embeds, boolean send, String username, String avatarUrl, List<ButtonsAPI.ButtonData> buttons)
- Parameters:
content- Output message contentembeds- Embeds to include in the command output.send- Whether to send the message or not.username- Username for Clyde.avatarUrl- Avatar URL for Clyde, must be a direct link, not a redirect.buttons- Button components that will appear on the response message
-
-
-
-