Package-level declarations

Types

Link copied to clipboard
class Activity(val data: ActivityData)
Link copied to clipboard
class Application(val data: ApplicationData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : BaseApplication

The details of an Application.

Link copied to clipboard
Link copied to clipboard
data class Attachment(val data: AttachmentData, val kord: Kord) : KordEntity

An instance of a Discord Attachment.

Link copied to clipboard
class AuditLog(val data: DiscordAuditLog, val guildId: Snowflake, val kord: Kord) : KordObject
Link copied to clipboard
class AuditLogEntry(val data: DiscordAuditLogEntry, val kord: Kord) : KordObject
Link copied to clipboard
class Ban(val data: BanData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordObject, Strategizable

An instance of a Discord Ban.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Embed(val data: EmbedData, val kord: Kord) : KordObject

An instance of a Discord Embed.

Link copied to clipboard
sealed interface Emoji

Either a StandardEmoji or a GuildEmoji.

Link copied to clipboard
interface Entity : Comparable<Entity>
Link copied to clipboard
class Guild(val data: GuildData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : GuildBehavior

An instance of a Discord Guild.

Link copied to clipboard
class GuildEmoji(val data: EmojiData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : Emoji, KordEntity, Strategizable

An instance of an emoji belonging to a specific Guild.

Link copied to clipboard
class GuildOnboarding(val data: DiscordGuildOnboarding, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordObject, Strategizable

Represents the onboarding flow for a Guild.

Link copied to clipboard
class GuildPreview(val data: GuildPreviewData, val kord: Kord) : KordEntity
Link copied to clipboard
class GuildScheduledEvent(val data: GuildScheduledEventData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : GuildScheduledEventBehavior

An instance of a Guild scheduled event belonging to a specific guild.

Link copied to clipboard
class GuildSticker(val data: StickerData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : Sticker, StickerBehavior
Link copied to clipboard
class GuildWidget(val data: GuildWidgetData, val guildId: Snowflake, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordObject, Strategizable
Link copied to clipboard
class Integration(val data: IntegrationData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordEntity, Strategizable
Link copied to clipboard
open class Invite(val data: BaseInviteData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordObject, Strategizable

An instance of a Discord Invite.

Link copied to clipboard
class InviteWithMetadata(val data: InviteWithMetadataData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : Invite

An instance of a Discord Invite with extra information.

Link copied to clipboard

An object that is identified by its id. This object holds a KordObject

Link copied to clipboard
class Member(val memberData: MemberData, userData: UserData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : User, MemberBehavior

An instance of a Discord Member.

Link copied to clipboard
class Message(val data: MessageData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : MessageBehavior

An instance of a https://discord.com/developers/docs/resources/channel#message-object.

Link copied to clipboard
Link copied to clipboard
class PartialApplication(val data: PartialApplicationData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : BaseApplication

The partial details of an Application sent in InviteCreateEvents.

Link copied to clipboard
class PartialGuild(val data: PartialGuildData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : GuildBehavior
Link copied to clipboard
Link copied to clipboard
class PermissionOverwriteEntity(val guildId: Snowflake, val channelId: Snowflake, val data: PermissionOverwriteData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : PermissionOverwrite, KordObject, Strategizable
Link copied to clipboard
class Presence(val data: PresenceData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordObject, Strategizable
Link copied to clipboard
class Reaction(val data: ReactionData, val kord: Kord) : KordObject

An instance of a Discord Reaction.

Link copied to clipboard
sealed class ReactionEmoji
Link copied to clipboard
class Region(val data: RegionData, val kord: Kord) : KordObject
Link copied to clipboard
data class Role(val data: RoleData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : RoleBehavior
Link copied to clipboard
class RoleTags(val data: RoleTagsData, val guildId: Snowflake, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordObject, Strategizable
Link copied to clipboard
class StageInstance(val data: StageInstanceData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : StageInstanceBehavior
Link copied to clipboard
class StandardEmoji(val name: String) : Emoji

An instance of a standard emoji.

Link copied to clipboard
open class Sticker(val data: StickerData, val kord: Kord) : KordEntity

A sticker image that can be used in messages.

Link copied to clipboard
class StickerItem(val data: StickerItemData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordEntity, Strategizable
Link copied to clipboard
class StickerPack(val data: StickerPackData, val kord: Kord) : KordEntity
Link copied to clipboard
interface Strategizable

A class that will defer the requesting of Entities to a supplier. Copies of this class with a different supplier can be made through withStrategy.

Link copied to clipboard
class Team(val data: TeamData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordEntity, Strategizable

A Discord developer team which can own applications.

Link copied to clipboard
class TeamMember(val data: TeamMemberData, val kord: Kord)

A member of a Discord developer team.

Link copied to clipboard
class Template(val data: TemplateData, val kord: Kord) : KordObject, TemplateBehavior
Link copied to clipboard
open class User(val data: UserData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : UserBehavior

An instance of a Discord User.

Link copied to clipboard
class VoiceState(val data: VoiceStateData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordObject, Strategizable
Link copied to clipboard
data class Webhook(val data: WebhookData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : WebhookBehavior, Strategizable
Link copied to clipboard
class WelcomeScreen(val data: WelcomeScreenData, val kord: Kord) : KordObject

Shown to new members in community guild, returned when in the invite object.

Properties

Link copied to clipboard

The user's effective name, prioritizing globalName over username.

Functions

Link copied to clipboard
inline suspend fun Integration.edit(builder: IntegrationModifyBuilder.() -> Unit)

Requests to edit this integration.

Link copied to clipboard