Unsafe

A class that exposes the creation of {Entity}Behavior classes.

All functionality in this class assumes correct data is being passed along and omits any requirements or checks. This makes using behaviors created by this class inherently unsafe.

If the user is not sure of the correctness of the data being passed along, it is advised to use Entities generated by Kord or other Entities instead.

Constructors

Link copied to clipboard
constructor(kord: Kord)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun componentInteraction(id: Snowflake, channelId: Snowflake, token: String, applicationId: Snowflake = kord.selfId): ComponentInteractionBehavior

Creates a ComponentInteractionBehavior with the given id, channelId, token and applicationId.

Link copied to clipboard
Link copied to clipboard
fun guildApplicationCommand(guildId: Snowflake, applicationId: Snowflake, commandId: Snowflake, service: InteractionService = kord.rest.interaction): GuildApplicationCommandBehavior
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun message(channelId: Snowflake, messageId: Snowflake): MessageBehavior
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun role(guildId: Snowflake, id: Snowflake): RoleBehavior
Link copied to clipboard
fun sku(skuId: Snowflake, applicationId: Snowflake = kord.selfId): SkuBehavior
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard