Package dev.kord.core.live.channel

Types

LiveCategory
Link copied to clipboard
@KordPreview
class LiveCategory(channel: Category, coroutineScope: CoroutineScope) : LiveChannel, KordEntity
LiveChannel
Link copied to clipboard
@KordPreview
abstract class LiveChannel(kord: Kord, coroutineScope: CoroutineScope) : AbstractLiveKordEntity
LiveDmChannel
Link copied to clipboard
@KordPreview
class LiveDmChannel(channel: DmChannel, coroutineScope: CoroutineScope) : LiveChannel, KordEntity
LiveGuildChannel
Link copied to clipboard
@KordPreview
class LiveGuildChannel(channel: TopGuildChannel, coroutineScope: CoroutineScope) : LiveChannel, KordEntity
LiveGuildMessageChannel
Link copied to clipboard
@KordPreview
class LiveGuildMessageChannel(channel: TopGuildMessageChannel, coroutineScope: CoroutineScope) : LiveChannel, KordEntity
LiveVoiceChannel
Link copied to clipboard
@KordPreview
class LiveVoiceChannel(channel: VoiceChannel, coroutineScope: CoroutineScope) : LiveChannel, KordEntity

Functions

live
Link copied to clipboard
@KordPreview
fun Category.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveCategory
@KordPreview
fun Channel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveChannel
@KordPreview
fun DmChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveDmChannel
@KordPreview
fun TopGuildChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveGuildChannel
@KordPreview
fun TopGuildMessageChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveGuildMessageChannel
@KordPreview
fun VoiceChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveVoiceChannel
@KordPreview
inline fun Category.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job), block: LiveCategory.() -> Unit): LiveCategory
@KordPreview
inline fun Channel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job), block: LiveChannel.() -> Unit): LiveChannel
@KordPreview
inline fun DmChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job), block: LiveDmChannel.() -> Unit): LiveDmChannel
@KordPreview
inline fun TopGuildChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job), block: LiveGuildChannel.() -> Unit): LiveGuildChannel
@KordPreview
inline fun TopGuildMessageChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job), block: LiveGuildMessageChannel.() -> Unit): LiveGuildMessageChannel
@KordPreview
inline fun VoiceChannel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job), block: LiveVoiceChannel.() -> Unit): LiveVoiceChannel
onChannelCreate
Link copied to clipboard
@KordPreview
fun LiveChannel.onChannelCreate(scope: CoroutineScope = this, block: suspend (ChannelCreateEvent) -> Unit): Job
onChannelDelete
Link copied to clipboard
@KordPreview
fun LiveChannel.onChannelDelete(scope: CoroutineScope = this, block: suspend (ChannelDeleteEvent) -> Unit): Job
@KordPreview
fun LiveGuildMessageChannel.onChannelDelete(scope: CoroutineScope = this, block: suspend (ChannelDeleteEvent) -> Unit): Job
onChannelUpdate
Link copied to clipboard
@KordPreview
fun LiveChannel.onChannelUpdate(scope: CoroutineScope = this, block: suspend (ChannelUpdateEvent) -> Unit): Job
onCreate
Link copied to clipboard
@KordPreview
fun LiveCategory.onCreate(scope: CoroutineScope = this, block: suspend (CategoryCreateEvent) -> Unit): Job
@KordPreview
fun LiveDmChannel.onCreate(scope: CoroutineScope = this, block: suspend (DMChannelCreateEvent) -> Unit): Job
@KordPreview
fun LiveGuildChannel.onCreate(scope: CoroutineScope = this, block: suspend (ChannelCreateEvent) -> Unit): Job
@KordPreview
fun LiveGuildMessageChannel.onCreate(scope: CoroutineScope = this, block: suspend (ChannelCreateEvent) -> Unit): Job
@KordPreview
fun LiveVoiceChannel.onCreate(scope: CoroutineScope = this, block: suspend (VoiceChannelCreateEvent) -> Unit): Job
onDelete
Link copied to clipboard
@KordPreview
fun LiveCategory.onDelete(scope: CoroutineScope = this, block: suspend (CategoryDeleteEvent) -> Unit): Job
@KordPreview
fun LiveDmChannel.onDelete(scope: CoroutineScope = this, block: suspend (DMChannelDeleteEvent) -> Unit): Job
@KordPreview
fun LiveGuildChannel.onDelete(scope: CoroutineScope = this, block: suspend (ChannelDeleteEvent) -> Unit): Job
@KordPreview
fun LiveGuildMessageChannel.onDelete(scope: CoroutineScope = this, block: suspend (GuildDeleteEvent) -> Unit): Job
@KordPreview
fun LiveVoiceChannel.onDelete(scope: CoroutineScope = this, block: suspend (VoiceChannelDeleteEvent) -> Unit): Job
onGuildCreate
Link copied to clipboard
@KordPreview
fun LiveChannel.onGuildCreate(scope: CoroutineScope = this, block: suspend (GuildCreateEvent) -> Unit): Job
onGuildDelete
Link copied to clipboard
@KordPreview
fun LiveCategory.onGuildDelete(scope: CoroutineScope = this, block: suspend (GuildDeleteEvent) -> Unit): Job
@KordPreview
fun LiveDmChannel.onGuildDelete(scope: CoroutineScope = this, block: suspend (GuildDeleteEvent) -> Unit): Job
@KordPreview
fun LiveGuildChannel.onGuildDelete(scope: CoroutineScope = this, block: suspend (GuildDeleteEvent) -> Unit): Job
@KordPreview
fun LiveVoiceChannel.onGuildDelete(scope: CoroutineScope = this, block: suspend (GuildDeleteEvent) -> Unit): Job
onGuildUpdate
Link copied to clipboard
@KordPreview
fun LiveChannel.onGuildUpdate(scope: CoroutineScope = this, block: suspend (GuildUpdateEvent) -> Unit): Job
onMessageCreate
Link copied to clipboard
@KordPreview
fun LiveChannel.onMessageCreate(scope: CoroutineScope = this, block: suspend (MessageCreateEvent) -> Unit): Job
onMessageDelete
Link copied to clipboard
@KordPreview
fun LiveChannel.onMessageDelete(scope: CoroutineScope = this, block: suspend (MessageDeleteEvent) -> Unit): Job
onMessageUpdate
Link copied to clipboard
@KordPreview
fun LiveChannel.onMessageUpdate(scope: CoroutineScope = this, block: suspend (MessageUpdateEvent) -> Unit): Job
onReactionAdd
Link copied to clipboard
@KordPreview
fun LiveChannel.onReactionAdd(scope: CoroutineScope = this, block: suspend (ReactionAddEvent) -> Unit): Job
@KordPreview
inline fun LiveChannel.onReactionAdd(reaction: ReactionEmoji, scope: CoroutineScope = this, crossinline block: suspend (ReactionAddEvent) -> Unit): Job
onReactionRemove
Link copied to clipboard
@KordPreview
fun LiveChannel.onReactionRemove(scope: CoroutineScope = this, block: suspend (ReactionRemoveEvent) -> Unit): Job
@KordPreview
inline fun LiveChannel.onReactionRemove(reaction: ReactionEmoji, scope: CoroutineScope = this, crossinline block: suspend (ReactionRemoveEvent) -> Unit): Job
onReactionRemoveAll
Link copied to clipboard
@KordPreview
fun LiveChannel.onReactionRemoveAll(scope: CoroutineScope = this, block: suspend (ReactionRemoveAllEvent) -> Unit): Job
onShutDown
Link copied to clipboard
@KordPreview
inline fun LiveCategory.onShutDown(scope: CoroutineScope = this, crossinline block: suspend (Event) -> Unit): Job
@KordPreview
inline fun LiveDmChannel.onShutDown(scope: CoroutineScope = this, crossinline block: suspend (Event) -> Unit): Job
@KordPreview
inline fun LiveGuildChannel.onShutDown(scope: CoroutineScope = this, crossinline block: suspend (Event) -> Unit): Job
@KordPreview
inline fun LiveGuildMessageChannel.onShutDown(scope: CoroutineScope = this, crossinline block: suspend (Event) -> Unit): Job
@KordPreview
inline fun LiveVoiceChannel.onShutDown(scope: CoroutineScope = this, crossinline block: suspend (Event) -> Unit): Job
onUpdate
Link copied to clipboard
@KordPreview
fun LiveCategory.onUpdate(scope: CoroutineScope = this, block: suspend (CategoryUpdateEvent) -> Unit): Job
@KordPreview
fun LiveDmChannel.onUpdate(scope: CoroutineScope = this, block: suspend (DMChannelUpdateEvent) -> Unit): Job
@KordPreview
fun LiveGuildChannel.onUpdate(scope: CoroutineScope = this, block: suspend (ChannelUpdateEvent) -> Unit): Job
@KordPreview
fun LiveGuildMessageChannel.onUpdate(scope: CoroutineScope = this, block: suspend (ChannelUpdateEvent) -> Unit): Job
@KordPreview
fun LiveVoiceChannel.onUpdate(scope: CoroutineScope = this, block: suspend (VoiceChannelUpdateEvent) -> Unit): Job
onVoiceStateUpdate
Link copied to clipboard
@KordPreview
fun LiveChannel.onVoiceStateUpdate(scope: CoroutineScope = this, block: suspend (VoiceStateUpdateEvent) -> Unit): Job