send To Channel
fun sendToChannel(guildEnv: String = "GUILD_ID", channelEnv: String, message: String): MessageCreateAction?(source)
fun sendToChannel(guildEnv: String = "GUILD_ID", channelEnv: String, message: MessageCreateData): MessageCreateAction?(source)
Sends a message to a specified channel in a guild.
Parameters
guild Env
The environment key for the guild ID.
channel Env
The environment key for the channel ID.
message
The message to be sent.
fun sendToChannel(guildId: String, channelId: String, embed: MessageEmbed): MessageCreateAction?(source)
Sends a message embed to the specified channel in a guild.
Parameters
guild Id
The environment key for the guild ID.
channel Id
The environment key for the channel ID.
embed
The embed to be sent.