Package dev.jaims.kda.channel

Functions

purge
Link copied to clipboard
fun MessageChannel.purge(limit: Int = 25000, predicate: (Message) -> Boolean = { !it.isPinned }): MessageChannel
Purge messages from a MessageChannel.
send
Link copied to clipboard
fun MessageChannel.send(content: String): MessageAction
Send a Message as just a string in the MessageChannel.
fun MessageChannel.send(message: Message): MessageAction
Send a Message.
fun MessageChannel.send(embed: MessageEmbed): MessageAction
Send a Message to a channel with only a MessageEmbed