Package-level declarations

Types

Link copied to clipboard

Store for all setup processes on the link between a Minecraft account and a Discord account.

Functions

Link copied to clipboard
fun sendDMToUser(userId: String, embed: EmbedBuilder): MessageCreateAction?

Sends a direct message to a user with the provided user ID and embed.

Link copied to clipboard
fun sendLogEmbed(embed: EmbedBuilder): MessageCreateAction?

Sends a log message as an embedded message to a specified channel in a guild.

Link copied to clipboard
fun sendToChannel(guildEnv: String = "GUILD_ID", channelEnv: String, message: String): MessageCreateAction?
fun sendToChannel(guildEnv: String = "GUILD_ID", channelEnv: String, message: MessageCreateData): MessageCreateAction?

Sends a message to a specified channel in a guild.

fun sendToChannel(guildId: String, channelId: String, embed: MessageEmbed): MessageCreateAction?

Sends a message embed to the specified channel in a guild.

Link copied to clipboard
fun sendToMainChannel(discordChannelEnvs: DiscordChannelEnvs, message: String): MessageCreateAction?

Sends a message to the main channel of a Discord guild based on the provided DiscordChannelEnvs.

fun sendToMainChannel(discordChannelEnvs: DiscordChannelEnvs, embed: MessageEmbed): MessageCreateAction?

Sends a message embed to the main channel.

Link copied to clipboard

Throws an exception message to a Discord channel.