Package dev.kord.core.event.guild

Types

BanAddEvent
Link copied to clipboard
class BanAddEvent(user: User, guildId: Snowflake, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
BanRemoveEvent
Link copied to clipboard
class BanRemoveEvent(user: User, guildId: Snowflake, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
EmojisUpdateEvent
Link copied to clipboard
class EmojisUpdateEvent(guildId: Snowflake, emojis: Set<GuildEmoji>, old: Set<GuildEmoji>?, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
GuildCreateEvent
Link copied to clipboard
class GuildCreateEvent(guild: Guild, shard: Int, coroutineScope: CoroutineScope) : Event, CoroutineScope
GuildDeleteEvent
Link copied to clipboard
class GuildDeleteEvent(guildId: Snowflake, unavailable: Boolean, guild: Guild?, kord: Kord, shard: Int, coroutineScope: CoroutineScope) : Event, CoroutineScope
GuildScheduledEventCreateEvent
Link copied to clipboard
data class GuildScheduledEventCreateEvent(scheduledEvent: GuildScheduledEvent, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : GuildScheduledEventEvent, CoroutineScope

Event fired when a scheduled event got created.

GuildScheduledEventDeleteEvent
Link copied to clipboard
data class GuildScheduledEventDeleteEvent(scheduledEvent: GuildScheduledEvent, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : GuildScheduledEventEvent, CoroutineScope

Event fired when a scheduled event got deleted. Use GuildScheduledEvent.status to know why the event got deleted.

GuildScheduledEventEvent
Link copied to clipboard
interface GuildScheduledEventEvent : Event, CoroutineScope, Strategizable

Interface of all events related to GuildScheduledEvents.

GuildScheduledEventUpdateEvent
Link copied to clipboard
data class GuildScheduledEventUpdateEvent(scheduledEvent: GuildScheduledEvent, oldEvent: GuildScheduledEvent?, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : GuildScheduledEventEvent, CoroutineScope

Event fired if a GuildScheduledEvent gets updated.

GuildScheduledEventUserAddEvent
Link copied to clipboard
@KordPreview
data class GuildScheduledEventUserAddEvent(scheduledEventId: Snowflake, userId: Snowflake, guildId: Snowflake, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : GuildScheduledEventUserEvent, CoroutineScope

NOTE: this event is currently experimental and not officially supported

GuildScheduledEventUserEvent
Link copied to clipboard
@KordPreview
interface GuildScheduledEventUserEvent : Event, Strategizable

NOTE: this event is currently experimental and not officially supported

GuildScheduledEventUserRemoveEvent
Link copied to clipboard
@KordPreview
data class GuildScheduledEventUserRemoveEvent(scheduledEventId: Snowflake, userId: Snowflake, guildId: Snowflake, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : GuildScheduledEventUserEvent, CoroutineScope

NOTE: this event is currently experimental and not officially supported

GuildUpdateEvent
Link copied to clipboard
class GuildUpdateEvent(guild: Guild, old: Guild?, shard: Int, coroutineScope: CoroutineScope) : Event, CoroutineScope
IntegrationsUpdateEvent
Link copied to clipboard
class IntegrationsUpdateEvent(guildId: Snowflake, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
InviteCreateEvent
Link copied to clipboard
class InviteCreateEvent(data: InviteCreateData, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable

Sent when a new invite to a channel is created.

InviteDeleteEvent
Link copied to clipboard
class InviteDeleteEvent(data: InviteDeleteData, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable

Sent when an invite is deleted.

MemberChunksEvent
Link copied to clipboard
@DeprecatedSinceKord(version = "0.7.0")
typealias MemberChunksEvent = MembersChunkEvent
MemberJoinEvent
Link copied to clipboard
class MemberJoinEvent(member: Member, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
MemberLeaveEvent
Link copied to clipboard
class MemberLeaveEvent(user: User, old: Member?, guildId: Snowflake, shard: Int, coroutineScope: CoroutineScope) : Event, CoroutineScope
MembersChunkEvent
Link copied to clipboard
class MembersChunkEvent(data: MembersChunkData, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
MemberUpdateEvent
Link copied to clipboard
class MemberUpdateEvent(member: Member, old: Member?, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
VoiceServerUpdateEvent
Link copied to clipboard
class VoiceServerUpdateEvent(token: String, guildId: Snowflake, endpoint: String?, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable
WebhookUpdateEvent
Link copied to clipboard
class WebhookUpdateEvent(guildId: Snowflake, channelId: Snowflake, kord: Kord, shard: Int, supplier: EntitySupplier, coroutineScope: CoroutineScope) : Event, CoroutineScope, Strategizable