diff --git a/common/api/common.api b/common/api/common.api index fb87a200c9d..2b8e8ed36e7 100644 --- a/common/api/common.api +++ b/common/api/common.api @@ -572,6 +572,10 @@ public final class dev/kord/common/entity/ApplicationCommandType$Message : dev/k public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandType$Message; } +public final class dev/kord/common/entity/ApplicationCommandType$PrimaryEntryPoint : dev/kord/common/entity/ApplicationCommandType { + public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandType$PrimaryEntryPoint; +} + public final class dev/kord/common/entity/ApplicationCommandType$Unknown : dev/kord/common/entity/ApplicationCommandType { } @@ -679,6 +683,61 @@ public final class dev/kord/common/entity/ApplicationFlags$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract class dev/kord/common/entity/ApplicationIntegrationType { + public static final field Companion Ldev/kord/common/entity/ApplicationIntegrationType$Companion; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun equals (Ljava/lang/Object;)Z + public final fun getValue ()I + public final fun hashCode ()I + public final fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/ApplicationIntegrationType$Companion { + public final fun from (I)Ldev/kord/common/entity/ApplicationIntegrationType; + public final fun getEntries ()Ljava/util/List; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/ApplicationIntegrationType$GuildInstall : dev/kord/common/entity/ApplicationIntegrationType { + public static final field INSTANCE Ldev/kord/common/entity/ApplicationIntegrationType$GuildInstall; +} + +public final class dev/kord/common/entity/ApplicationIntegrationType$Unknown : dev/kord/common/entity/ApplicationIntegrationType { +} + +public final class dev/kord/common/entity/ApplicationIntegrationType$UserInstall : dev/kord/common/entity/ApplicationIntegrationType { + public static final field INSTANCE Ldev/kord/common/entity/ApplicationIntegrationType$UserInstall; +} + +public final class dev/kord/common/entity/ApplicationIntegrationTypeConfig { + public static final field Companion Ldev/kord/common/entity/ApplicationIntegrationTypeConfig$Companion; + public fun ()V + public fun (Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/kord/common/entity/optional/Optional; + public final fun copy (Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/ApplicationIntegrationTypeConfig; + public static synthetic fun copy$default (Ldev/kord/common/entity/ApplicationIntegrationTypeConfig;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/ApplicationIntegrationTypeConfig; + public fun equals (Ljava/lang/Object;)Z + public final fun getOauth2InstallParams ()Ldev/kord/common/entity/optional/Optional; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class dev/kord/common/entity/ApplicationIntegrationTypeConfig$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/ApplicationIntegrationTypeConfig$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ApplicationIntegrationTypeConfig; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/ApplicationIntegrationTypeConfig;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/ApplicationIntegrationTypeConfig$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public abstract class dev/kord/common/entity/ApplicationRoleConnectionMetadataType { public static final field Companion Ldev/kord/common/entity/ApplicationRoleConnectionMetadataType$Companion; public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -2460,22 +2519,27 @@ public final class dev/kord/common/entity/DiscordAddedGuildMember$Companion { public final class dev/kord/common/entity/DiscordApplication : dev/kord/common/entity/BaseDiscordApplication { public static final field Companion Ldev/kord/common/entity/DiscordApplication$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ldev/kord/common/entity/optional/Optional; - public final fun component11 ()Ljava/lang/String; - public final fun component12 ()Ldev/kord/common/entity/DiscordTeam; - public final fun component13 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component11 ()Ldev/kord/common/entity/optional/Optional; + public final fun component12 ()Ljava/lang/String; + public final fun component13 ()Ldev/kord/common/entity/DiscordTeam; public final fun component14 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component15 ()Ldev/kord/common/entity/optional/Optional; - public final fun component16 ()Ldev/kord/common/entity/optional/Optional; + public final fun component16 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component17 ()Ldev/kord/common/entity/optional/Optional; public final fun component18 ()Ldev/kord/common/entity/optional/Optional; public final fun component19 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ljava/lang/String; - public final fun component20 ()Ldev/kord/common/entity/optional/Optional; - public final fun component21 ()Ldev/kord/common/entity/optional/Optional; + public final fun component20 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component21 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component22 ()Ldev/kord/common/entity/optional/Optional; + public final fun component23 ()Ldev/kord/common/entity/optional/Optional; + public final fun component24 ()Ldev/kord/common/entity/optional/Optional; + public final fun component25 ()Ldev/kord/common/entity/optional/Optional; + public final fun component26 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; @@ -2483,19 +2547,24 @@ public final class dev/kord/common/entity/DiscordApplication : dev/kord/common/e public final fun component7 ()Z public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordApplication; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordApplication;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordApplication; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordApplication; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordApplication;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/DiscordTeam;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordApplication; public fun equals (Ljava/lang/Object;)Z + public final fun getApproximateGuildCount ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun getApproximateUserInstallCount ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun getBot ()Ldev/kord/common/entity/optional/Optional; public final fun getBotPublic ()Z public final fun getBotRequireCodeGrant ()Z public fun getCoverImage ()Ldev/kord/common/entity/optional/Optional; public fun getCustomInstallUrl ()Ldev/kord/common/entity/optional/Optional; public fun getDescription ()Ljava/lang/String; public fun getFlags ()Ldev/kord/common/entity/optional/Optional; + public final fun getGuild ()Ldev/kord/common/entity/optional/Optional; public fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun getIcon ()Ljava/lang/String; public fun getId ()Ldev/kord/common/entity/Snowflake; public fun getInstallParams ()Ldev/kord/common/entity/optional/Optional; + public final fun getIntegrationTypesConfig ()Ldev/kord/common/entity/optional/Optional; public fun getName ()Ljava/lang/String; public fun getOwner ()Ldev/kord/common/entity/optional/Optional; public fun getPrimarySkuId ()Ldev/kord/common/entity/optional/OptionalSnowflake; @@ -2528,14 +2597,16 @@ public final class dev/kord/common/entity/DiscordApplication$Companion { public final class dev/kord/common/entity/DiscordApplicationCommand { public static final field Companion Ldev/kord/common/entity/DiscordApplicationCommand$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ldev/kord/common/entity/Permissions; public final fun component11 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component12 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component13 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun component14 ()Ldev/kord/common/entity/Snowflake; + public final fun component14 ()Ldev/kord/common/entity/optional/Optional; + public final fun component15 ()Ldev/kord/common/entity/optional/Optional; + public final fun component16 ()Ldev/kord/common/entity/Snowflake; public final fun component2 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ldev/kord/common/entity/Snowflake; public final fun component4 ()Ljava/lang/String; @@ -2544,10 +2615,11 @@ public final class dev/kord/common/entity/DiscordApplicationCommand { public final fun component7 ()Ldev/kord/common/entity/optional/Optional; public final fun component8 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;)Ldev/kord/common/entity/DiscordApplicationCommand; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordApplicationCommand;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordApplicationCommand; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;)Ldev/kord/common/entity/DiscordApplicationCommand; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordApplicationCommand;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Snowflake;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordApplicationCommand; public fun equals (Ljava/lang/Object;)Z public final fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public final fun getContexts ()Ldev/kord/common/entity/optional/Optional; public final fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public final fun getDefaultPermission ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getDescription ()Ljava/lang/String; @@ -2555,6 +2627,7 @@ public final class dev/kord/common/entity/DiscordApplicationCommand { public final fun getDmPermission ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getIntegrationTypes ()Ldev/kord/common/entity/optional/Optional; public final fun getName ()Ljava/lang/String; public final fun getNameLocalizations ()Ldev/kord/common/entity/optional/Optional; public final fun getNsfw ()Ldev/kord/common/entity/optional/OptionalBoolean; @@ -4195,26 +4268,25 @@ public final class dev/kord/common/entity/DiscordGuildWidget$Companion { public final class dev/kord/common/entity/DiscordIntegration { public static final field Companion Ldev/kord/common/entity/DiscordIntegration$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; - public final fun component10 ()Ldev/kord/common/entity/optional/Optional; - public final fun component11 ()Ldev/kord/common/entity/DiscordIntegrationsAccount; - public final fun component12 ()Ldev/kord/common/entity/optional/Optional; - public final fun component13 ()Ldev/kord/common/entity/optional/OptionalInt; - public final fun component14 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun component15 ()Ldev/kord/common/entity/optional/Optional; - public final fun component16 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component10 ()Ldev/kord/common/entity/DiscordIntegrationsAccount; + public final fun component11 ()Ldev/kord/common/entity/optional/Optional; + public final fun component12 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component13 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component14 ()Ldev/kord/common/entity/optional/Optional; + public final fun component15 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component2 ()Ljava/lang/String; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Z - public final fun component5 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun component6 ()Ldev/kord/common/entity/optional/OptionalSnowflake; - public final fun component7 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component5 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component6 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component7 ()Ldev/kord/common/entity/optional/Optional; public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;)Ldev/kord/common/entity/DiscordIntegration; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordIntegration;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordIntegration; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;)Ldev/kord/common/entity/DiscordIntegration; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordIntegration;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordIntegrationsAccount;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordIntegration; public fun equals (Ljava/lang/Object;)Z public final fun getAccount ()Ldev/kord/common/entity/DiscordIntegrationsAccount; public final fun getApplication ()Ldev/kord/common/entity/optional/Optional; @@ -4229,7 +4301,6 @@ public final class dev/kord/common/entity/DiscordIntegration { public final fun getRoleId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getSubscriberCount ()Ldev/kord/common/entity/optional/OptionalInt; public final fun getSyncedAt ()Ldev/kord/common/entity/optional/Optional; - public final fun getSyncing ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getType ()Ljava/lang/String; public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I @@ -4343,33 +4414,39 @@ public final class dev/kord/common/entity/DiscordIntegrationsAccount$Companion { public final class dev/kord/common/entity/DiscordInteraction { public static final field Companion Ldev/kord/common/entity/DiscordInteraction$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; - public final fun component10 ()Ljava/lang/String; - public final fun component11 ()I - public final fun component12 ()Ldev/kord/common/entity/optional/Optional; + public final fun component10 ()Ldev/kord/common/entity/optional/Optional; + public final fun component11 ()Ljava/lang/String; + public final fun component12 ()I public final fun component13 ()Ldev/kord/common/entity/optional/Optional; - public final fun component14 ()Ldev/kord/common/entity/optional/Optional; + public final fun component14 ()Ldev/kord/common/entity/Permissions; public final fun component15 ()Ldev/kord/common/entity/optional/Optional; public final fun component16 ()Ldev/kord/common/entity/optional/Optional; + public final fun component17 ()Ljava/util/Map; + public final fun component18 ()Ldev/kord/common/entity/optional/Optional; + public final fun component19 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ldev/kord/common/entity/Snowflake; public final fun component3 ()Ldev/kord/common/entity/InteractionType; public final fun component4 ()Ldev/kord/common/entity/InteractionCallbackData; public final fun component5 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component6 ()Ldev/kord/common/entity/optional/Optional; - public final fun component7 ()Ldev/kord/common/entity/optional/OptionalSnowflake; - public final fun component8 ()Ldev/kord/common/entity/optional/Optional; + public final fun component7 ()Ldev/kord/common/entity/optional/Optional; + public final fun component8 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordInteraction; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordInteraction;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordInteraction; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordInteraction; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordInteraction;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordInteraction; public fun equals (Ljava/lang/Object;)Z - public final fun getAppPermissions ()Ldev/kord/common/entity/optional/Optional; + public final fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public final fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public final fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public final fun getChannel ()Ldev/kord/common/entity/optional/Optional; public final fun getChannelId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getContext ()Ldev/kord/common/entity/optional/Optional; public final fun getData ()Ldev/kord/common/entity/InteractionCallbackData; public final fun getEntitlements ()Ldev/kord/common/entity/optional/Optional; + public final fun getGuild ()Ldev/kord/common/entity/optional/Optional; public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getGuildLocale ()Ldev/kord/common/entity/optional/Optional; public final fun getId ()Ldev/kord/common/entity/Snowflake; @@ -4399,6 +4476,37 @@ public final class dev/kord/common/entity/DiscordInteraction$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordInteraction$Guild { + public static final field Companion Ldev/kord/common/entity/DiscordInteraction$Guild$Companion; + public fun (Ldev/kord/common/Locale;Ldev/kord/common/entity/Snowflake;Ljava/util/List;)V + public final fun component1 ()Ldev/kord/common/Locale; + public final fun component2 ()Ldev/kord/common/entity/Snowflake; + public final fun component3 ()Ljava/util/List; + public final fun copy (Ldev/kord/common/Locale;Ldev/kord/common/entity/Snowflake;Ljava/util/List;)Ldev/kord/common/entity/DiscordInteraction$Guild; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordInteraction$Guild;Ldev/kord/common/Locale;Ldev/kord/common/entity/Snowflake;Ljava/util/List;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordInteraction$Guild; + public fun equals (Ljava/lang/Object;)Z + public final fun getFeatures ()Ljava/util/List; + public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getLocale ()Ldev/kord/common/Locale; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class dev/kord/common/entity/DiscordInteraction$Guild$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordInteraction$Guild$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInteraction$Guild; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordInteraction$Guild;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/DiscordInteraction$Guild$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordInteractionGuildMember { public static final field Companion Ldev/kord/common/entity/DiscordInteractionGuildMember$Companion; public fun (Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Lkotlinx/datetime/Instant;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/GuildMemberFlags;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V @@ -4445,6 +4553,46 @@ public final class dev/kord/common/entity/DiscordInteractionGuildMember$Companio public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordInteractionMetadata { + public static final field Companion Ldev/kord/common/entity/DiscordInteractionMetadata$Companion; + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordUser;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordUser;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/kord/common/entity/Snowflake; + public final fun component2 ()Ldev/kord/common/entity/InteractionType; + public final fun component3 ()Ldev/kord/common/entity/DiscordUser; + public final fun component4 ()Ljava/util/Map; + public final fun component5 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component6 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component7 ()Ldev/kord/common/entity/optional/Optional; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordUser;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordInteractionMetadata; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordInteractionMetadata;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordUser;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordInteractionMetadata; + public fun equals (Ljava/lang/Object;)Z + public final fun getAuthorizingIntegrationOwners ()Ljava/util/Map; + public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getInteractedMessageId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getOriginalResponseMessageId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getTriggeringInteractionMetadata ()Ldev/kord/common/entity/optional/Optional; + public final fun getType ()Ldev/kord/common/entity/InteractionType; + public final fun getUser ()Ldev/kord/common/entity/DiscordUser; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class dev/kord/common/entity/DiscordInteractionMetadata$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordInteractionMetadata$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInteractionMetadata; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordInteractionMetadata;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/DiscordInteractionMetadata$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordInvite : dev/kord/common/entity/BaseDiscordInvite { public static final field Companion Ldev/kord/common/entity/DiscordInvite$Companion; public fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/DiscordChannel;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V @@ -4588,8 +4736,8 @@ public final class dev/kord/common/entity/DiscordMentionedChannel$Companion { public final class dev/kord/common/entity/DiscordMessage { public static final field Companion Ldev/kord/common/entity/DiscordMessage$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;IILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Z public final fun component11 ()Ljava/util/List; @@ -4615,15 +4763,16 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun component3 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component30 ()Ldev/kord/common/entity/optional/Optional; public final fun component31 ()Ldev/kord/common/entity/optional/Optional; - public final fun component32 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component32 ()Ldev/kord/common/entity/optional/Optional; + public final fun component33 ()Ldev/kord/common/entity/optional/OptionalInt; public final fun component4 ()Ldev/kord/common/entity/DiscordUser; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; public final fun component6 ()Ljava/lang/String; public final fun component7 ()Lkotlinx/datetime/Instant; public final fun component8 ()Lkotlinx/datetime/Instant; public final fun component9 ()Z - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/common/entity/DiscordMessage; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordMessage; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/common/entity/DiscordMessage; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;IILjava/lang/Object;)Ldev/kord/common/entity/DiscordMessage; public fun equals (Ljava/lang/Object;)Z public final fun getActivity ()Ldev/kord/common/entity/optional/Optional; public final fun getApplication ()Ldev/kord/common/entity/optional/Optional; @@ -4639,6 +4788,7 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; public final fun getInteraction ()Ldev/kord/common/entity/optional/Optional; + public final fun getInteractionMetadata ()Ldev/kord/common/entity/optional/Optional; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; public final fun getMentionEveryone ()Z public final fun getMentionRoles ()Ljava/util/List; @@ -5176,8 +5326,8 @@ public final class dev/kord/common/entity/DiscordPartialInvite$Companion { public final class dev/kord/common/entity/DiscordPartialMessage { public static final field Companion Ldev/kord/common/entity/DiscordPartialMessage$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component11 ()Ldev/kord/common/entity/optional/Optional; @@ -5198,7 +5348,8 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun component25 ()Ldev/kord/common/entity/optional/Optional; public final fun component26 ()Ldev/kord/common/entity/optional/Optional; public final fun component27 ()Ldev/kord/common/entity/optional/Optional; - public final fun component28 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component28 ()Ldev/kord/common/entity/optional/Optional; + public final fun component29 ()Ldev/kord/common/entity/optional/OptionalInt; public final fun component3 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component4 ()Ldev/kord/common/entity/optional/Optional; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; @@ -5206,8 +5357,8 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun component7 ()Ldev/kord/common/entity/optional/Optional; public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/common/entity/DiscordPartialMessage; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordPartialMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordPartialMessage; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/common/entity/DiscordPartialMessage; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordPartialMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordPartialMessage; public fun equals (Ljava/lang/Object;)Z public final fun getActivity ()Ldev/kord/common/entity/optional/Optional; public final fun getApplication ()Ldev/kord/common/entity/optional/Optional; @@ -5221,6 +5372,7 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; public final fun getInteraction ()Ldev/kord/common/entity/optional/Optional; + public final fun getInteractionMetadata ()Ldev/kord/common/entity/optional/Optional; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; public final fun getMentionEveryone ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getMentionRoles ()Ldev/kord/common/entity/optional/Optional; @@ -7130,6 +7282,36 @@ public final class dev/kord/common/entity/InteractionCallbackData$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract class dev/kord/common/entity/InteractionContextType { + public static final field Companion Ldev/kord/common/entity/InteractionContextType$Companion; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun equals (Ljava/lang/Object;)Z + public final fun getValue ()I + public final fun hashCode ()I + public final fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/InteractionContextType$BotDM : dev/kord/common/entity/InteractionContextType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionContextType$BotDM; +} + +public final class dev/kord/common/entity/InteractionContextType$Companion { + public final fun from (I)Ldev/kord/common/entity/InteractionContextType; + public final fun getEntries ()Ljava/util/List; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/InteractionContextType$Guild : dev/kord/common/entity/InteractionContextType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionContextType$Guild; +} + +public final class dev/kord/common/entity/InteractionContextType$PrivateChannel : dev/kord/common/entity/InteractionContextType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionContextType$PrivateChannel; +} + +public final class dev/kord/common/entity/InteractionContextType$Unknown : dev/kord/common/entity/InteractionContextType { +} + public abstract class dev/kord/common/entity/InteractionResponseType { public static final field Companion Ldev/kord/common/entity/InteractionResponseType$Companion; public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -7161,6 +7343,10 @@ public final class dev/kord/common/entity/InteractionResponseType$DeferredUpdate public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$DeferredUpdateMessage; } +public final class dev/kord/common/entity/InteractionResponseType$LaunchActivity : dev/kord/common/entity/InteractionResponseType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$LaunchActivity; +} + public final class dev/kord/common/entity/InteractionResponseType$Modal : dev/kord/common/entity/InteractionResponseType { public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$Modal; } @@ -8042,6 +8228,10 @@ public final class dev/kord/common/entity/Permission$Stream : dev/kord/common/en public static final field INSTANCE Ldev/kord/common/entity/Permission$Stream; } +public final class dev/kord/common/entity/Permission$USE_EXTERNAL_APPS : dev/kord/common/entity/Permission { + public static final field INSTANCE Ldev/kord/common/entity/Permission$USE_EXTERNAL_APPS; +} + public final class dev/kord/common/entity/Permission$Unknown : dev/kord/common/entity/Permission { } @@ -8214,6 +8404,32 @@ public final class dev/kord/common/entity/PresenceStatus$Online : dev/kord/commo public final class dev/kord/common/entity/PresenceStatus$Unknown : dev/kord/common/entity/PresenceStatus { } +public abstract class dev/kord/common/entity/PrimaryEntryPointCommandHandlerType { + public static final field Companion Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType$Companion; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun equals (Ljava/lang/Object;)Z + public final fun getValue ()I + public final fun hashCode ()I + public final fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/PrimaryEntryPointCommandHandlerType$AppHandler : dev/kord/common/entity/PrimaryEntryPointCommandHandlerType { + public static final field INSTANCE Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType$AppHandler; +} + +public final class dev/kord/common/entity/PrimaryEntryPointCommandHandlerType$Companion { + public final fun from (I)Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType; + public final fun getEntries ()Ljava/util/List; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/PrimaryEntryPointCommandHandlerType$DiscordLaunchActivity : dev/kord/common/entity/PrimaryEntryPointCommandHandlerType { + public static final field INSTANCE Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType$DiscordLaunchActivity; +} + +public final class dev/kord/common/entity/PrimaryEntryPointCommandHandlerType$Unknown : dev/kord/common/entity/PrimaryEntryPointCommandHandlerType { +} + public final class dev/kord/common/entity/Reaction { public static final field Companion Ldev/kord/common/entity/Reaction$Companion; public fun (IZLdev/kord/common/entity/DiscordEmoji;)V @@ -9125,6 +9341,7 @@ public final class dev/kord/common/entity/optional/Optional$Companion { public final fun invoke ()Ldev/kord/common/entity/optional/Optional$Missing; public final fun invoke (Ljava/lang/Object;)Ldev/kord/common/entity/optional/Optional$Value; public final fun invokeNullable (Ljava/lang/Object;)Ldev/kord/common/entity/optional/Optional; + public final fun missingOnEmpty (Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/optional/Optional; public final fun missingOnEmpty (Ljava/util/Collection;)Ldev/kord/common/entity/optional/Optional; public final fun serializer (Lkotlinx/serialization/KSerializer;)Lkotlinx/serialization/KSerializer; } diff --git a/common/api/common.klib.api b/common/api/common.klib.api index 309c5b6cec0..3cfdadba328 100644 --- a/common/api/common.klib.api +++ b/common/api/common.klib.api @@ -383,6 +383,34 @@ final class dev.kord.common.entity/ApplicationFlags { // dev.kord.common.entity/ } } +final class dev.kord.common.entity/ApplicationIntegrationTypeConfig { // dev.kord.common.entity/ApplicationIntegrationTypeConfig|null[0] + constructor (dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/ApplicationIntegrationTypeConfig.|(dev.kord.common.entity.optional.Optional){}[0] + + final val oauth2InstallParams // dev.kord.common.entity/ApplicationIntegrationTypeConfig.oauth2InstallParams|{}oauth2InstallParams[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/ApplicationIntegrationTypeConfig.oauth2InstallParams.|(){}[0] + + final fun component1(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/ApplicationIntegrationTypeConfig.component1|component1(){}[0] + final fun copy(dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/ApplicationIntegrationTypeConfig // dev.kord.common.entity/ApplicationIntegrationTypeConfig.copy|copy(dev.kord.common.entity.optional.Optional){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/ApplicationIntegrationTypeConfig.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.common.entity/ApplicationIntegrationTypeConfig.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.common.entity/ApplicationIntegrationTypeConfig.toString|toString(){}[0] + + final object $serializer : kotlinx.serialization.internal/GeneratedSerializer { // dev.kord.common.entity/ApplicationIntegrationTypeConfig.$serializer|null[0] + final val descriptor // dev.kord.common.entity/ApplicationIntegrationTypeConfig.$serializer.descriptor|{}descriptor[0] + final fun (): kotlinx.serialization.descriptors/SerialDescriptor // dev.kord.common.entity/ApplicationIntegrationTypeConfig.$serializer.descriptor.|(){}[0] + + final fun childSerializers(): kotlin/Array> // dev.kord.common.entity/ApplicationIntegrationTypeConfig.$serializer.childSerializers|childSerializers(){}[0] + final fun deserialize(kotlinx.serialization.encoding/Decoder): dev.kord.common.entity/ApplicationIntegrationTypeConfig // dev.kord.common.entity/ApplicationIntegrationTypeConfig.$serializer.deserialize|deserialize(kotlinx.serialization.encoding.Decoder){}[0] + final fun serialize(kotlinx.serialization.encoding/Encoder, dev.kord.common.entity/ApplicationIntegrationTypeConfig) // dev.kord.common.entity/ApplicationIntegrationTypeConfig.$serializer.serialize|serialize(kotlinx.serialization.encoding.Encoder;dev.kord.common.entity.ApplicationIntegrationTypeConfig){}[0] + } + + final object Companion { // dev.kord.common.entity/ApplicationIntegrationTypeConfig.Companion|null[0] + final val $childSerializers // dev.kord.common.entity/ApplicationIntegrationTypeConfig.Companion.$childSerializers|{}$childSerializers[0] + + final fun serializer(): kotlinx.serialization/KSerializer // dev.kord.common.entity/ApplicationIntegrationTypeConfig.Companion.serializer|serializer(){}[0] + } +} + final class dev.kord.common.entity/AttachmentFlags { // dev.kord.common.entity/AttachmentFlags|null[0] final val value // dev.kord.common.entity/AttachmentFlags.value|{}value[0] final fun (): kotlin/Int // dev.kord.common.entity/AttachmentFlags.value.|(){}[0] @@ -938,8 +966,14 @@ final class dev.kord.common.entity/DiscordAddedGuildMember { // dev.kord.common. } final class dev.kord.common.entity/DiscordApplication : dev.kord.common.entity/BaseDiscordApplication { // dev.kord.common.entity/DiscordApplication|null[0] - constructor (dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String?, kotlin/String, dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean, kotlin/Boolean, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String, dev.kord.common.entity/DiscordTeam?, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordApplication.|(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.DiscordTeam?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] - + constructor (dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String?, kotlin/String, dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean, kotlin/Boolean, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String, dev.kord.common.entity/DiscordTeam?, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordApplication.|(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.DiscordTeam?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + + final val approximateGuildCount // dev.kord.common.entity/DiscordApplication.approximateGuildCount|{}approximateGuildCount[0] + final fun (): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordApplication.approximateGuildCount.|(){}[0] + final val approximateUserInstallCount // dev.kord.common.entity/DiscordApplication.approximateUserInstallCount|{}approximateUserInstallCount[0] + final fun (): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordApplication.approximateUserInstallCount.|(){}[0] + final val bot // dev.kord.common.entity/DiscordApplication.bot|{}bot[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.bot.|(){}[0] final val botPublic // dev.kord.common.entity/DiscordApplication.botPublic|{}botPublic[0] final fun (): kotlin/Boolean // dev.kord.common.entity/DiscordApplication.botPublic.|(){}[0] final val botRequireCodeGrant // dev.kord.common.entity/DiscordApplication.botRequireCodeGrant|{}botRequireCodeGrant[0] @@ -952,6 +986,8 @@ final class dev.kord.common.entity/DiscordApplication : dev.kord.common.entity/B final fun (): kotlin/String // dev.kord.common.entity/DiscordApplication.description.|(){}[0] final val flags // dev.kord.common.entity/DiscordApplication.flags|{}flags[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.flags.|(){}[0] + final val guild // dev.kord.common.entity/DiscordApplication.guild|{}guild[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.guild.|(){}[0] final val guildId // dev.kord.common.entity/DiscordApplication.guildId|{}guildId[0] final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordApplication.guildId.|(){}[0] final val icon // dev.kord.common.entity/DiscordApplication.icon|{}icon[0] @@ -960,6 +996,8 @@ final class dev.kord.common.entity/DiscordApplication : dev.kord.common.entity/B final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordApplication.id.|(){}[0] final val installParams // dev.kord.common.entity/DiscordApplication.installParams|{}installParams[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.installParams.|(){}[0] + final val integrationTypesConfig // dev.kord.common.entity/DiscordApplication.integrationTypesConfig|{}integrationTypesConfig[0] + final fun (): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplication.integrationTypesConfig.|(){}[0] final val name // dev.kord.common.entity/DiscordApplication.name|{}name[0] final fun (): kotlin/String // dev.kord.common.entity/DiscordApplication.name.|(){}[0] final val owner // dev.kord.common.entity/DiscordApplication.owner|{}owner[0] @@ -984,27 +1022,32 @@ final class dev.kord.common.entity/DiscordApplication : dev.kord.common.entity/B final fun (): kotlin/String // dev.kord.common.entity/DiscordApplication.verifyKey.|(){}[0] final fun component1(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordApplication.component1|component1(){}[0] - final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component10|component10(){}[0] - final fun component11(): kotlin/String // dev.kord.common.entity/DiscordApplication.component11|component11(){}[0] - final fun component12(): dev.kord.common.entity/DiscordTeam? // dev.kord.common.entity/DiscordApplication.component12|component12(){}[0] - final fun component13(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordApplication.component13|component13(){}[0] + final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component10|component10(){}[0] + final fun component11(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component11|component11(){}[0] + final fun component12(): kotlin/String // dev.kord.common.entity/DiscordApplication.component12|component12(){}[0] + final fun component13(): dev.kord.common.entity/DiscordTeam? // dev.kord.common.entity/DiscordApplication.component13|component13(){}[0] final fun component14(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordApplication.component14|component14(){}[0] - final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component15|component15(){}[0] - final fun component16(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component16|component16(){}[0] - final fun component17(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component17|component17(){}[0] - final fun component18(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplication.component18|component18(){}[0] - final fun component19(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component19|component19(){}[0] + final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component15|component15(){}[0] + final fun component16(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordApplication.component16|component16(){}[0] + final fun component17(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component17|component17(){}[0] + final fun component18(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component18|component18(){}[0] + final fun component19(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component19|component19(){}[0] final fun component2(): kotlin/String // dev.kord.common.entity/DiscordApplication.component2|component2(){}[0] - final fun component20(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component20|component20(){}[0] - final fun component21(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component21|component21(){}[0] + final fun component20(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordApplication.component20|component20(){}[0] + final fun component21(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordApplication.component21|component21(){}[0] + final fun component22(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplication.component22|component22(){}[0] + final fun component23(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component23|component23(){}[0] + final fun component24(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplication.component24|component24(){}[0] + final fun component25(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component25|component25(){}[0] + final fun component26(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component26|component26(){}[0] final fun component3(): kotlin/String? // dev.kord.common.entity/DiscordApplication.component3|component3(){}[0] final fun component4(): kotlin/String // dev.kord.common.entity/DiscordApplication.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplication.component5|component5(){}[0] final fun component6(): kotlin/Boolean // dev.kord.common.entity/DiscordApplication.component6|component6(){}[0] final fun component7(): kotlin/Boolean // dev.kord.common.entity/DiscordApplication.component7|component7(){}[0] - final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component8|component8(){}[0] + final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplication.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String? = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., dev.kord.common.entity/DiscordTeam? = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordApplication // dev.kord.common.entity/DiscordApplication.copy|copy(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.DiscordTeam?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String? = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., dev.kord.common.entity/DiscordTeam? = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordApplication // dev.kord.common.entity/DiscordApplication.copy|copy(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.DiscordTeam?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordApplication.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordApplication.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordApplication.toString|toString(){}[0] @@ -1026,10 +1069,12 @@ final class dev.kord.common.entity/DiscordApplication : dev.kord.common.entity/B } final class dev.kord.common.entity/DiscordApplicationCommand { // dev.kord.common.entity/DiscordApplicationCommand|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Snowflake, kotlin/String, dev.kord.common.entity.optional/Optional?> = ..., kotlin/String?, dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity/Permissions?, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity/Snowflake) // dev.kord.common.entity/DiscordApplicationCommand.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Snowflake;kotlin.String;dev.kord.common.entity.optional.Optional?>;kotlin.String?;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.Permissions?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.Snowflake){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Snowflake, kotlin/String, dev.kord.common.entity.optional/Optional?> = ..., kotlin/String?, dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity/Permissions?, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity/Snowflake) // dev.kord.common.entity/DiscordApplicationCommand.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Snowflake;kotlin.String;dev.kord.common.entity.optional.Optional?>;kotlin.String?;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.Permissions?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.Snowflake){}[0] final val applicationId // dev.kord.common.entity/DiscordApplicationCommand.applicationId|{}applicationId[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordApplicationCommand.applicationId.|(){}[0] + final val contexts // dev.kord.common.entity/DiscordApplicationCommand.contexts|{}contexts[0] + final fun (): dev.kord.common.entity.optional/Optional?> // dev.kord.common.entity/DiscordApplicationCommand.contexts.|(){}[0] final val defaultMemberPermissions // dev.kord.common.entity/DiscordApplicationCommand.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity/Permissions? // dev.kord.common.entity/DiscordApplicationCommand.defaultMemberPermissions.|(){}[0] final val defaultPermission // dev.kord.common.entity/DiscordApplicationCommand.defaultPermission|{}defaultPermission[0] @@ -1044,6 +1089,8 @@ final class dev.kord.common.entity/DiscordApplicationCommand { // dev.kord.commo final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordApplicationCommand.guildId.|(){}[0] final val id // dev.kord.common.entity/DiscordApplicationCommand.id|{}id[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordApplicationCommand.id.|(){}[0] + final val integrationTypes // dev.kord.common.entity/DiscordApplicationCommand.integrationTypes|{}integrationTypes[0] + final fun (): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplicationCommand.integrationTypes.|(){}[0] final val name // dev.kord.common.entity/DiscordApplicationCommand.name|{}name[0] final fun (): kotlin/String // dev.kord.common.entity/DiscordApplicationCommand.name.|(){}[0] final val nameLocalizations // dev.kord.common.entity/DiscordApplicationCommand.nameLocalizations|{}nameLocalizations[0] @@ -1062,7 +1109,9 @@ final class dev.kord.common.entity/DiscordApplicationCommand { // dev.kord.commo final fun component11(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordApplicationCommand.component11|component11(){}[0] final fun component12(): dev.kord.common.entity.optional/OptionalBoolean? // dev.kord.common.entity/DiscordApplicationCommand.component12|component12(){}[0] final fun component13(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordApplicationCommand.component13|component13(){}[0] - final fun component14(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordApplicationCommand.component14|component14(){}[0] + final fun component14(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplicationCommand.component14|component14(){}[0] + final fun component15(): dev.kord.common.entity.optional/Optional?> // dev.kord.common.entity/DiscordApplicationCommand.component15|component15(){}[0] + final fun component16(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordApplicationCommand.component16|component16(){}[0] final fun component2(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordApplicationCommand.component2|component2(){}[0] final fun component3(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordApplicationCommand.component3|component3(){}[0] final fun component4(): kotlin/String // dev.kord.common.entity/DiscordApplicationCommand.component4|component4(){}[0] @@ -1071,7 +1120,7 @@ final class dev.kord.common.entity/DiscordApplicationCommand { // dev.kord.commo final fun component7(): dev.kord.common.entity.optional/Optional?> // dev.kord.common.entity/DiscordApplicationCommand.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordApplicationCommand.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordApplicationCommand.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional?> = ..., kotlin/String? = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity/Permissions? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity/Snowflake = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.common.entity/DiscordApplicationCommand.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Snowflake;kotlin.String;dev.kord.common.entity.optional.Optional?>;kotlin.String?;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.Permissions?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.Snowflake){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional?> = ..., kotlin/String? = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity/Permissions? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity/Snowflake = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.common.entity/DiscordApplicationCommand.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Snowflake;kotlin.String;dev.kord.common.entity.optional.Optional?>;kotlin.String?;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.Permissions?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.Snowflake){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordApplicationCommand.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordApplicationCommand.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordApplicationCommand.toString|toString(){}[0] @@ -2906,7 +2955,7 @@ final class dev.kord.common.entity/DiscordGuildWidget { // dev.kord.common.entit } final class dev.kord.common.entity/DiscordIntegration { // dev.kord.common.entity/DiscordIntegration|null[0] - constructor (dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, kotlin/Boolean, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/DiscordIntegrationsAccount, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ...) // dev.kord.common.entity/DiscordIntegration.|(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.DiscordIntegrationsAccount;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake){}[0] + constructor (dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, kotlin/Boolean, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/DiscordIntegrationsAccount, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ...) // dev.kord.common.entity/DiscordIntegration.|(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.DiscordIntegrationsAccount;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake){}[0] final val account // dev.kord.common.entity/DiscordIntegration.account|{}account[0] final fun (): dev.kord.common.entity/DiscordIntegrationsAccount // dev.kord.common.entity/DiscordIntegration.account.|(){}[0] @@ -2934,30 +2983,27 @@ final class dev.kord.common.entity/DiscordIntegration { // dev.kord.common.entit final fun (): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordIntegration.subscriberCount.|(){}[0] final val syncedAt // dev.kord.common.entity/DiscordIntegration.syncedAt|{}syncedAt[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.syncedAt.|(){}[0] - final val syncing // dev.kord.common.entity/DiscordIntegration.syncing|{}syncing[0] - final fun (): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordIntegration.syncing.|(){}[0] final val type // dev.kord.common.entity/DiscordIntegration.type|{}type[0] final fun (): kotlin/String // dev.kord.common.entity/DiscordIntegration.type.|(){}[0] final val user // dev.kord.common.entity/DiscordIntegration.user|{}user[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.user.|(){}[0] final fun component1(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordIntegration.component1|component1(){}[0] - final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component10|component10(){}[0] - final fun component11(): dev.kord.common.entity/DiscordIntegrationsAccount // dev.kord.common.entity/DiscordIntegration.component11|component11(){}[0] - final fun component12(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component12|component12(){}[0] - final fun component13(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordIntegration.component13|component13(){}[0] - final fun component14(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordIntegration.component14|component14(){}[0] - final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component15|component15(){}[0] - final fun component16(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordIntegration.component16|component16(){}[0] + final fun component10(): dev.kord.common.entity/DiscordIntegrationsAccount // dev.kord.common.entity/DiscordIntegration.component10|component10(){}[0] + final fun component11(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component11|component11(){}[0] + final fun component12(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordIntegration.component12|component12(){}[0] + final fun component13(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordIntegration.component13|component13(){}[0] + final fun component14(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component14|component14(){}[0] + final fun component15(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordIntegration.component15|component15(){}[0] final fun component2(): kotlin/String // dev.kord.common.entity/DiscordIntegration.component2|component2(){}[0] final fun component3(): kotlin/String // dev.kord.common.entity/DiscordIntegration.component3|component3(){}[0] final fun component4(): kotlin/Boolean // dev.kord.common.entity/DiscordIntegration.component4|component4(){}[0] - final fun component5(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordIntegration.component5|component5(){}[0] - final fun component6(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordIntegration.component6|component6(){}[0] - final fun component7(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordIntegration.component7|component7(){}[0] - final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component8|component8(){}[0] - final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/DiscordIntegrationsAccount = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ...): dev.kord.common.entity/DiscordIntegration // dev.kord.common.entity/DiscordIntegration.copy|copy(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.DiscordIntegrationsAccount;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake){}[0] + final fun component5(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordIntegration.component5|component5(){}[0] + final fun component6(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordIntegration.component6|component6(){}[0] + final fun component7(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component7|component7(){}[0] + final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component8|component8(){}[0] + final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordIntegration.component9|component9(){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/DiscordIntegrationsAccount = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ...): dev.kord.common.entity/DiscordIntegration // dev.kord.common.entity/DiscordIntegration.copy|copy(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.DiscordIntegrationsAccount;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordIntegration.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordIntegration.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordIntegration.toString|toString(){}[0] @@ -3069,20 +3115,26 @@ final class dev.kord.common.entity/DiscordIntegrationsAccount { // dev.kord.comm } final class dev.kord.common.entity/DiscordInteraction { // dev.kord.common.entity/DiscordInteraction|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/InteractionType, dev.kord.common.entity/InteractionCallbackData, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String, kotlin/Int, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...) // dev.kord.common.entity/DiscordInteraction.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.common.entity.InteractionCallbackData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/InteractionType, dev.kord.common.entity/InteractionCallbackData, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String, kotlin/Int, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/Map, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...) // dev.kord.common.entity/DiscordInteraction.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.common.entity.InteractionCallbackData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.Map;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] final val appPermissions // dev.kord.common.entity/DiscordInteraction.appPermissions|{}appPermissions[0] - final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.appPermissions.|(){}[0] + final fun (): dev.kord.common.entity/Permissions // dev.kord.common.entity/DiscordInteraction.appPermissions.|(){}[0] final val applicationId // dev.kord.common.entity/DiscordInteraction.applicationId|{}applicationId[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordInteraction.applicationId.|(){}[0] + final val authorizingIntegrationOwners // dev.kord.common.entity/DiscordInteraction.authorizingIntegrationOwners|{}authorizingIntegrationOwners[0] + final fun (): kotlin.collections/Map // dev.kord.common.entity/DiscordInteraction.authorizingIntegrationOwners.|(){}[0] final val channel // dev.kord.common.entity/DiscordInteraction.channel|{}channel[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.channel.|(){}[0] final val channelId // dev.kord.common.entity/DiscordInteraction.channelId|{}channelId[0] final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteraction.channelId.|(){}[0] + final val context // dev.kord.common.entity/DiscordInteraction.context|{}context[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.context.|(){}[0] final val data // dev.kord.common.entity/DiscordInteraction.data|{}data[0] final fun (): dev.kord.common.entity/InteractionCallbackData // dev.kord.common.entity/DiscordInteraction.data.|(){}[0] final val entitlements // dev.kord.common.entity/DiscordInteraction.entitlements|{}entitlements[0] final fun (): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordInteraction.entitlements.|(){}[0] + final val guild // dev.kord.common.entity/DiscordInteraction.guild|{}guild[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.guild.|(){}[0] final val guildId // dev.kord.common.entity/DiscordInteraction.guildId|{}guildId[0] final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteraction.guildId.|(){}[0] final val guildLocale // dev.kord.common.entity/DiscordInteraction.guildLocale|{}guildLocale[0] @@ -3105,26 +3157,63 @@ final class dev.kord.common.entity/DiscordInteraction { // dev.kord.common.entit final fun (): kotlin/Int // dev.kord.common.entity/DiscordInteraction.version.|(){}[0] final fun component1(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordInteraction.component1|component1(){}[0] - final fun component10(): kotlin/String // dev.kord.common.entity/DiscordInteraction.component10|component10(){}[0] - final fun component11(): kotlin/Int // dev.kord.common.entity/DiscordInteraction.component11|component11(){}[0] - final fun component12(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component12|component12(){}[0] - final fun component13(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component13|component13(){}[0] - final fun component14(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component14|component14(){}[0] + final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component10|component10(){}[0] + final fun component11(): kotlin/String // dev.kord.common.entity/DiscordInteraction.component11|component11(){}[0] + final fun component12(): kotlin/Int // dev.kord.common.entity/DiscordInteraction.component12|component12(){}[0] + final fun component13(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component13|component13(){}[0] + final fun component14(): dev.kord.common.entity/Permissions // dev.kord.common.entity/DiscordInteraction.component14|component14(){}[0] final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component15|component15(){}[0] - final fun component16(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordInteraction.component16|component16(){}[0] + final fun component16(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component16|component16(){}[0] + final fun component17(): kotlin.collections/Map // dev.kord.common.entity/DiscordInteraction.component17|component17(){}[0] + final fun component18(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component18|component18(){}[0] + final fun component19(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordInteraction.component19|component19(){}[0] final fun component2(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordInteraction.component2|component2(){}[0] final fun component3(): dev.kord.common.entity/InteractionType // dev.kord.common.entity/DiscordInteraction.component3|component3(){}[0] final fun component4(): dev.kord.common.entity/InteractionCallbackData // dev.kord.common.entity/DiscordInteraction.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteraction.component5|component5(){}[0] - final fun component6(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component6|component6(){}[0] - final fun component7(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteraction.component7|component7(){}[0] - final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component8|component8(){}[0] - final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/InteractionType = ..., dev.kord.common.entity/InteractionCallbackData = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., kotlin/Int = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...): dev.kord.common.entity/DiscordInteraction // dev.kord.common.entity/DiscordInteraction.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.common.entity.InteractionCallbackData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] + final fun component6(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component6|component6(){}[0] + final fun component7(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component7|component7(){}[0] + final fun component8(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteraction.component8|component8(){}[0] + final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteraction.component9|component9(){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/InteractionType = ..., dev.kord.common.entity/InteractionCallbackData = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., kotlin/Int = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/Map = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...): dev.kord.common.entity/DiscordInteraction // dev.kord.common.entity/DiscordInteraction.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.common.entity.InteractionCallbackData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.Map;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordInteraction.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordInteraction.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordInteraction.toString|toString(){}[0] + final class Guild { // dev.kord.common.entity/DiscordInteraction.Guild|null[0] + constructor (dev.kord.common/Locale, dev.kord.common.entity/Snowflake, kotlin.collections/List) // dev.kord.common.entity/DiscordInteraction.Guild.|(dev.kord.common.Locale;dev.kord.common.entity.Snowflake;kotlin.collections.List){}[0] + + final val features // dev.kord.common.entity/DiscordInteraction.Guild.features|{}features[0] + final fun (): kotlin.collections/List // dev.kord.common.entity/DiscordInteraction.Guild.features.|(){}[0] + final val id // dev.kord.common.entity/DiscordInteraction.Guild.id|{}id[0] + final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordInteraction.Guild.id.|(){}[0] + final val locale // dev.kord.common.entity/DiscordInteraction.Guild.locale|{}locale[0] + final fun (): dev.kord.common/Locale // dev.kord.common.entity/DiscordInteraction.Guild.locale.|(){}[0] + + final fun component1(): dev.kord.common/Locale // dev.kord.common.entity/DiscordInteraction.Guild.component1|component1(){}[0] + final fun component2(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordInteraction.Guild.component2|component2(){}[0] + final fun component3(): kotlin.collections/List // dev.kord.common.entity/DiscordInteraction.Guild.component3|component3(){}[0] + final fun copy(dev.kord.common/Locale = ..., dev.kord.common.entity/Snowflake = ..., kotlin.collections/List = ...): dev.kord.common.entity/DiscordInteraction.Guild // dev.kord.common.entity/DiscordInteraction.Guild.copy|copy(dev.kord.common.Locale;dev.kord.common.entity.Snowflake;kotlin.collections.List){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordInteraction.Guild.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordInteraction.Guild.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.common.entity/DiscordInteraction.Guild.toString|toString(){}[0] + + final object $serializer : kotlinx.serialization.internal/GeneratedSerializer { // dev.kord.common.entity/DiscordInteraction.Guild.$serializer|null[0] + final val descriptor // dev.kord.common.entity/DiscordInteraction.Guild.$serializer.descriptor|{}descriptor[0] + final fun (): kotlinx.serialization.descriptors/SerialDescriptor // dev.kord.common.entity/DiscordInteraction.Guild.$serializer.descriptor.|(){}[0] + + final fun childSerializers(): kotlin/Array> // dev.kord.common.entity/DiscordInteraction.Guild.$serializer.childSerializers|childSerializers(){}[0] + final fun deserialize(kotlinx.serialization.encoding/Decoder): dev.kord.common.entity/DiscordInteraction.Guild // dev.kord.common.entity/DiscordInteraction.Guild.$serializer.deserialize|deserialize(kotlinx.serialization.encoding.Decoder){}[0] + final fun serialize(kotlinx.serialization.encoding/Encoder, dev.kord.common.entity/DiscordInteraction.Guild) // dev.kord.common.entity/DiscordInteraction.Guild.$serializer.serialize|serialize(kotlinx.serialization.encoding.Encoder;dev.kord.common.entity.DiscordInteraction.Guild){}[0] + } + + final object Companion { // dev.kord.common.entity/DiscordInteraction.Guild.Companion|null[0] + final val $childSerializers // dev.kord.common.entity/DiscordInteraction.Guild.Companion.$childSerializers|{}$childSerializers[0] + + final fun serializer(): kotlinx.serialization/KSerializer // dev.kord.common.entity/DiscordInteraction.Guild.Companion.serializer|serializer(){}[0] + } + } + final object $serializer : kotlinx.serialization.internal/GeneratedSerializer { // dev.kord.common.entity/DiscordInteraction.$serializer|null[0] final val descriptor // dev.kord.common.entity/DiscordInteraction.$serializer.descriptor|{}descriptor[0] final fun (): kotlinx.serialization.descriptors/SerialDescriptor // dev.kord.common.entity/DiscordInteraction.$serializer.descriptor.|(){}[0] @@ -3196,6 +3285,52 @@ final class dev.kord.common.entity/DiscordInteractionGuildMember { // dev.kord.c } } +final class dev.kord.common.entity/DiscordInteractionMetadata { // dev.kord.common.entity/DiscordInteractionMetadata|null[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/InteractionType, dev.kord.common.entity/DiscordUser, kotlin.collections/Map, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordInteractionMetadata.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.common.entity.DiscordUser;kotlin.collections.Map;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional){}[0] + + final val authorizingIntegrationOwners // dev.kord.common.entity/DiscordInteractionMetadata.authorizingIntegrationOwners|{}authorizingIntegrationOwners[0] + final fun (): kotlin.collections/Map // dev.kord.common.entity/DiscordInteractionMetadata.authorizingIntegrationOwners.|(){}[0] + final val id // dev.kord.common.entity/DiscordInteractionMetadata.id|{}id[0] + final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordInteractionMetadata.id.|(){}[0] + final val interactedMessageId // dev.kord.common.entity/DiscordInteractionMetadata.interactedMessageId|{}interactedMessageId[0] + final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteractionMetadata.interactedMessageId.|(){}[0] + final val originalResponseMessageId // dev.kord.common.entity/DiscordInteractionMetadata.originalResponseMessageId|{}originalResponseMessageId[0] + final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteractionMetadata.originalResponseMessageId.|(){}[0] + final val triggeringInteractionMetadata // dev.kord.common.entity/DiscordInteractionMetadata.triggeringInteractionMetadata|{}triggeringInteractionMetadata[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionMetadata.triggeringInteractionMetadata.|(){}[0] + final val type // dev.kord.common.entity/DiscordInteractionMetadata.type|{}type[0] + final fun (): dev.kord.common.entity/InteractionType // dev.kord.common.entity/DiscordInteractionMetadata.type.|(){}[0] + final val user // dev.kord.common.entity/DiscordInteractionMetadata.user|{}user[0] + final fun (): dev.kord.common.entity/DiscordUser // dev.kord.common.entity/DiscordInteractionMetadata.user.|(){}[0] + + final fun component1(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordInteractionMetadata.component1|component1(){}[0] + final fun component2(): dev.kord.common.entity/InteractionType // dev.kord.common.entity/DiscordInteractionMetadata.component2|component2(){}[0] + final fun component3(): dev.kord.common.entity/DiscordUser // dev.kord.common.entity/DiscordInteractionMetadata.component3|component3(){}[0] + final fun component4(): kotlin.collections/Map // dev.kord.common.entity/DiscordInteractionMetadata.component4|component4(){}[0] + final fun component5(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteractionMetadata.component5|component5(){}[0] + final fun component6(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordInteractionMetadata.component6|component6(){}[0] + final fun component7(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionMetadata.component7|component7(){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/InteractionType = ..., dev.kord.common.entity/DiscordUser = ..., kotlin.collections/Map = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordInteractionMetadata // dev.kord.common.entity/DiscordInteractionMetadata.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.common.entity.DiscordUser;kotlin.collections.Map;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordInteractionMetadata.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordInteractionMetadata.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.common.entity/DiscordInteractionMetadata.toString|toString(){}[0] + + final object $serializer : kotlinx.serialization.internal/GeneratedSerializer { // dev.kord.common.entity/DiscordInteractionMetadata.$serializer|null[0] + final val descriptor // dev.kord.common.entity/DiscordInteractionMetadata.$serializer.descriptor|{}descriptor[0] + final fun (): kotlinx.serialization.descriptors/SerialDescriptor // dev.kord.common.entity/DiscordInteractionMetadata.$serializer.descriptor.|(){}[0] + + final fun childSerializers(): kotlin/Array> // dev.kord.common.entity/DiscordInteractionMetadata.$serializer.childSerializers|childSerializers(){}[0] + final fun deserialize(kotlinx.serialization.encoding/Decoder): dev.kord.common.entity/DiscordInteractionMetadata // dev.kord.common.entity/DiscordInteractionMetadata.$serializer.deserialize|deserialize(kotlinx.serialization.encoding.Decoder){}[0] + final fun serialize(kotlinx.serialization.encoding/Encoder, dev.kord.common.entity/DiscordInteractionMetadata) // dev.kord.common.entity/DiscordInteractionMetadata.$serializer.serialize|serialize(kotlinx.serialization.encoding.Encoder;dev.kord.common.entity.DiscordInteractionMetadata){}[0] + } + + final object Companion { // dev.kord.common.entity/DiscordInteractionMetadata.Companion|null[0] + final val $childSerializers // dev.kord.common.entity/DiscordInteractionMetadata.Companion.$childSerializers|{}$childSerializers[0] + + final fun serializer(): kotlinx.serialization/KSerializer // dev.kord.common.entity/DiscordInteractionMetadata.Companion.serializer|serializer(){}[0] + } +} + final class dev.kord.common.entity/DiscordInvite : dev.kord.common.entity/BaseDiscordInvite { // dev.kord.common.entity/DiscordInvite|null[0] constructor (kotlin/String, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/DiscordChannel?, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordInvite.|(kotlin.String;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.DiscordChannel?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] @@ -3366,7 +3501,7 @@ final class dev.kord.common.entity/DiscordMentionedChannel { // dev.kord.common. } final class dev.kord.common.entity/DiscordMessage { // dev.kord.common.entity/DiscordMessage|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/DiscordUser, dev.kord.common.entity.optional/Optional = ..., kotlin/String, kotlinx.datetime/Instant, kotlinx.datetime/Instant?, kotlin/Boolean, kotlin/Boolean, kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...) // dev.kord.common.entity/DiscordMessage.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/DiscordUser, dev.kord.common.entity.optional/Optional = ..., kotlin/String, kotlinx.datetime/Instant, kotlinx.datetime/Instant?, kotlin/Boolean, kotlin/Boolean, kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...) // dev.kord.common.entity/DiscordMessage.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] final val activity // dev.kord.common.entity/DiscordMessage.activity|{}activity[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.activity.|(){}[0] @@ -3396,6 +3531,8 @@ final class dev.kord.common.entity/DiscordMessage { // dev.kord.common.entity/Di final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordMessage.id.|(){}[0] final val interaction // dev.kord.common.entity/DiscordMessage.interaction|{}interaction[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.interaction.|(){}[0] + final val interactionMetadata // dev.kord.common.entity/DiscordMessage.interactionMetadata|{}interactionMetadata[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.interactionMetadata.|(){}[0] final val member // dev.kord.common.entity/DiscordMessage.member|{}member[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.member.|(){}[0] final val mentionEveryone // dev.kord.common.entity/DiscordMessage.mentionEveryone|{}mentionEveryone[0] @@ -3456,16 +3593,17 @@ final class dev.kord.common.entity/DiscordMessage { // dev.kord.common.entity/Di final fun component28(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.component28|component28(){}[0] final fun component29(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordMessage.component29|component29(){}[0] final fun component3(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordMessage.component3|component3(){}[0] - final fun component30(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.component30|component30(){}[0] - final fun component31(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.component31|component31(){}[0] - final fun component32(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordMessage.component32|component32(){}[0] + final fun component30(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.component30|component30(){}[0] + final fun component31(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.component31|component31(){}[0] + final fun component32(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.component32|component32(){}[0] + final fun component33(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordMessage.component33|component33(){}[0] final fun component4(): dev.kord.common.entity/DiscordUser // dev.kord.common.entity/DiscordMessage.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordMessage.component5|component5(){}[0] final fun component6(): kotlin/String // dev.kord.common.entity/DiscordMessage.component6|component6(){}[0] final fun component7(): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordMessage.component7|component7(){}[0] final fun component8(): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordMessage.component8|component8(){}[0] final fun component9(): kotlin/Boolean // dev.kord.common.entity/DiscordMessage.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/DiscordUser = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., kotlinx.datetime/Instant = ..., kotlinx.datetime/Instant? = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...): dev.kord.common.entity/DiscordMessage // dev.kord.common.entity/DiscordMessage.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/DiscordUser = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., kotlinx.datetime/Instant = ..., kotlinx.datetime/Instant? = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...): dev.kord.common.entity/DiscordMessage // dev.kord.common.entity/DiscordMessage.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordMessage.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordMessage.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordMessage.toString|toString(){}[0] @@ -4062,7 +4200,7 @@ final class dev.kord.common.entity/DiscordPartialInvite { // dev.kord.common.ent } final class dev.kord.common.entity/DiscordPartialMessage { // dev.kord.common.entity/DiscordPartialMessage|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...) // dev.kord.common.entity/DiscordPartialMessage.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...) // dev.kord.common.entity/DiscordPartialMessage.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] final val activity // dev.kord.common.entity/DiscordPartialMessage.activity|{}activity[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.activity.|(){}[0] @@ -4088,6 +4226,8 @@ final class dev.kord.common.entity/DiscordPartialMessage { // dev.kord.common.en final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordPartialMessage.id.|(){}[0] final val interaction // dev.kord.common.entity/DiscordPartialMessage.interaction|{}interaction[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.interaction.|(){}[0] + final val interactionMetadata // dev.kord.common.entity/DiscordPartialMessage.interactionMetadata|{}interactionMetadata[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.interactionMetadata.|(){}[0] final val member // dev.kord.common.entity/DiscordPartialMessage.member|{}member[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.member.|(){}[0] final val mentionEveryone // dev.kord.common.entity/DiscordPartialMessage.mentionEveryone|{}mentionEveryone[0] @@ -4140,8 +4280,9 @@ final class dev.kord.common.entity/DiscordPartialMessage { // dev.kord.common.en final fun component24(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component24|component24(){}[0] final fun component25(): dev.kord.common.entity.optional/Optional> // dev.kord.common.entity/DiscordPartialMessage.component25|component25(){}[0] final fun component26(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component26|component26(){}[0] - final fun component27(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component27|component27(){}[0] - final fun component28(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordPartialMessage.component28|component28(){}[0] + final fun component27(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component27|component27(){}[0] + final fun component28(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component28|component28(){}[0] + final fun component29(): dev.kord.common.entity.optional/OptionalInt // dev.kord.common.entity/DiscordPartialMessage.component29|component29(){}[0] final fun component3(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.common.entity/DiscordPartialMessage.component3|component3(){}[0] final fun component4(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component5|component5(){}[0] @@ -4149,7 +4290,7 @@ final class dev.kord.common.entity/DiscordPartialMessage { // dev.kord.common.en final fun component7(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordPartialMessage.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordPartialMessage.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...): dev.kord.common.entity/DiscordPartialMessage // dev.kord.common.entity/DiscordPartialMessage.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...): dev.kord.common.entity/DiscordPartialMessage // dev.kord.common.entity/DiscordPartialMessage.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordPartialMessage.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordPartialMessage.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordPartialMessage.toString|toString(){}[0] @@ -6700,6 +6841,7 @@ sealed class <#A: out kotlin/Any?> dev.kord.common.entity.optional/Optional { // final fun <#A2: kotlin/Any> invoke(#A2): dev.kord.common.entity.optional/Optional.Value<#A2> // dev.kord.common.entity.optional/Optional.Companion.invoke|invoke(0:0){0§}[0] final fun <#A2: kotlin/Any> invoke(#A2?): dev.kord.common.entity.optional/Optional<#A2?> // dev.kord.common.entity.optional/Optional.Companion.invoke|invoke(0:0?){0§}[0] final fun <#A2: kotlin/Any> invoke(): dev.kord.common.entity.optional/Optional.Missing<#A2> // dev.kord.common.entity.optional/Optional.Companion.invoke|invoke(){0§}[0] + final fun <#A2: kotlin/Any?, #B2: kotlin.collections/Collection<#A2>> (dev.kord.common.entity.optional/Optional<#B2>).missingOnEmpty(): dev.kord.common.entity.optional/Optional<#B2> // dev.kord.common.entity.optional/Optional.Companion.missingOnEmpty|missingOnEmpty@dev.kord.common.entity.optional.Optional<0:1>(){0§;1§>}[0] final fun <#A2: kotlin/Any?, #B2: kotlin.collections/Collection<#A2>> missingOnEmpty(#B2): dev.kord.common.entity.optional/Optional<#B2> // dev.kord.common.entity.optional/Optional.Companion.missingOnEmpty|missingOnEmpty(0:1){0§;1§>}[0] final fun <#A2: kotlin/Any?> serializer(kotlinx.serialization/KSerializer<#A2>): kotlinx.serialization/KSerializer> // dev.kord.common.entity.optional/Optional.Companion.serializer|serializer(kotlinx.serialization.KSerializer<0:0>){0§}[0] final fun serializer(kotlin/Array>...): kotlinx.serialization/KSerializer<*> // dev.kord.common.entity.optional/Optional.Companion.serializer|serializer(kotlin.Array>...){}[0] @@ -7233,6 +7375,8 @@ sealed class dev.kord.common.entity/ApplicationCommandType { // dev.kord.common. final object Message : dev.kord.common.entity/ApplicationCommandType // dev.kord.common.entity/ApplicationCommandType.Message|null[0] + final object PrimaryEntryPoint : dev.kord.common.entity/ApplicationCommandType // dev.kord.common.entity/ApplicationCommandType.PrimaryEntryPoint|null[0] + final object User : dev.kord.common.entity/ApplicationCommandType // dev.kord.common.entity/ApplicationCommandType.User|null[0] } @@ -7278,6 +7422,29 @@ sealed class dev.kord.common.entity/ApplicationFlag { // dev.kord.common.entity/ final object VerificationPendingGuildLimit : dev.kord.common.entity/ApplicationFlag // dev.kord.common.entity/ApplicationFlag.VerificationPendingGuildLimit|null[0] } +sealed class dev.kord.common.entity/ApplicationIntegrationType { // dev.kord.common.entity/ApplicationIntegrationType|null[0] + final val value // dev.kord.common.entity/ApplicationIntegrationType.value|{}value[0] + final fun (): kotlin/Int // dev.kord.common.entity/ApplicationIntegrationType.value.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/ApplicationIntegrationType.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.common.entity/ApplicationIntegrationType.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.common.entity/ApplicationIntegrationType.toString|toString(){}[0] + + final class Unknown : dev.kord.common.entity/ApplicationIntegrationType // dev.kord.common.entity/ApplicationIntegrationType.Unknown|null[0] + + final object Companion { // dev.kord.common.entity/ApplicationIntegrationType.Companion|null[0] + final val entries // dev.kord.common.entity/ApplicationIntegrationType.Companion.entries|{}entries[0] + final fun (): kotlin.collections/List // dev.kord.common.entity/ApplicationIntegrationType.Companion.entries.|(){}[0] + + final fun from(kotlin/Int): dev.kord.common.entity/ApplicationIntegrationType // dev.kord.common.entity/ApplicationIntegrationType.Companion.from|from(kotlin.Int){}[0] + final fun serializer(): kotlinx.serialization/KSerializer // dev.kord.common.entity/ApplicationIntegrationType.Companion.serializer|serializer(){}[0] + } + + final object GuildInstall : dev.kord.common.entity/ApplicationIntegrationType // dev.kord.common.entity/ApplicationIntegrationType.GuildInstall|null[0] + + final object UserInstall : dev.kord.common.entity/ApplicationIntegrationType // dev.kord.common.entity/ApplicationIntegrationType.UserInstall|null[0] +} + sealed class dev.kord.common.entity/ApplicationRoleConnectionMetadataType { // dev.kord.common.entity/ApplicationRoleConnectionMetadataType|null[0] final val value // dev.kord.common.entity/ApplicationRoleConnectionMetadataType.value|{}value[0] final fun (): kotlin/Int // dev.kord.common.entity/ApplicationRoleConnectionMetadataType.value.|(){}[0] @@ -8208,6 +8375,31 @@ sealed class dev.kord.common.entity/IntegrationExpireBehavior { // dev.kord.comm final object RemoveRole : dev.kord.common.entity/IntegrationExpireBehavior // dev.kord.common.entity/IntegrationExpireBehavior.RemoveRole|null[0] } +sealed class dev.kord.common.entity/InteractionContextType { // dev.kord.common.entity/InteractionContextType|null[0] + final val value // dev.kord.common.entity/InteractionContextType.value|{}value[0] + final fun (): kotlin/Int // dev.kord.common.entity/InteractionContextType.value.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/InteractionContextType.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.common.entity/InteractionContextType.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.common.entity/InteractionContextType.toString|toString(){}[0] + + final class Unknown : dev.kord.common.entity/InteractionContextType // dev.kord.common.entity/InteractionContextType.Unknown|null[0] + + final object BotDM : dev.kord.common.entity/InteractionContextType // dev.kord.common.entity/InteractionContextType.BotDM|null[0] + + final object Companion { // dev.kord.common.entity/InteractionContextType.Companion|null[0] + final val entries // dev.kord.common.entity/InteractionContextType.Companion.entries|{}entries[0] + final fun (): kotlin.collections/List // dev.kord.common.entity/InteractionContextType.Companion.entries.|(){}[0] + + final fun from(kotlin/Int): dev.kord.common.entity/InteractionContextType // dev.kord.common.entity/InteractionContextType.Companion.from|from(kotlin.Int){}[0] + final fun serializer(): kotlinx.serialization/KSerializer // dev.kord.common.entity/InteractionContextType.Companion.serializer|serializer(){}[0] + } + + final object Guild : dev.kord.common.entity/InteractionContextType // dev.kord.common.entity/InteractionContextType.Guild|null[0] + + final object PrivateChannel : dev.kord.common.entity/InteractionContextType // dev.kord.common.entity/InteractionContextType.PrivateChannel|null[0] +} + sealed class dev.kord.common.entity/InteractionResponseType { // dev.kord.common.entity/InteractionResponseType|null[0] final val type // dev.kord.common.entity/InteractionResponseType.type|{}type[0] final fun (): kotlin/Int // dev.kord.common.entity/InteractionResponseType.type.|(){}[0] @@ -8234,6 +8426,8 @@ sealed class dev.kord.common.entity/InteractionResponseType { // dev.kord.common final object DeferredUpdateMessage : dev.kord.common.entity/InteractionResponseType // dev.kord.common.entity/InteractionResponseType.DeferredUpdateMessage|null[0] + final object LaunchActivity : dev.kord.common.entity/InteractionResponseType // dev.kord.common.entity/InteractionResponseType.LaunchActivity|null[0] + final object Modal : dev.kord.common.entity/InteractionResponseType // dev.kord.common.entity/InteractionResponseType.Modal|null[0] final object Pong : dev.kord.common.entity/InteractionResponseType // dev.kord.common.entity/InteractionResponseType.Pong|null[0] @@ -8697,6 +8891,8 @@ sealed class dev.kord.common.entity/Permission { // dev.kord.common.entity/Permi final object Stream : dev.kord.common.entity/Permission // dev.kord.common.entity/Permission.Stream|null[0] + final object USE_EXTERNAL_APPS : dev.kord.common.entity/Permission // dev.kord.common.entity/Permission.USE_EXTERNAL_APPS|null[0] + final object UseApplicationCommands : dev.kord.common.entity/Permission // dev.kord.common.entity/Permission.UseApplicationCommands|null[0] final object UseEmbeddedActivities : dev.kord.common.entity/Permission // dev.kord.common.entity/Permission.UseEmbeddedActivities|null[0] @@ -8776,6 +8972,29 @@ sealed class dev.kord.common.entity/PresenceStatus { // dev.kord.common.entity/P final object Online : dev.kord.common.entity/PresenceStatus // dev.kord.common.entity/PresenceStatus.Online|null[0] } +sealed class dev.kord.common.entity/PrimaryEntryPointCommandHandlerType { // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType|null[0] + final val value // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.value|{}value[0] + final fun (): kotlin/Int // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.value.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.toString|toString(){}[0] + + final class Unknown : dev.kord.common.entity/PrimaryEntryPointCommandHandlerType // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.Unknown|null[0] + + final object AppHandler : dev.kord.common.entity/PrimaryEntryPointCommandHandlerType // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.AppHandler|null[0] + + final object Companion { // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.Companion|null[0] + final val entries // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.Companion.entries|{}entries[0] + final fun (): kotlin.collections/List // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.Companion.entries.|(){}[0] + + final fun from(kotlin/Int): dev.kord.common.entity/PrimaryEntryPointCommandHandlerType // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.Companion.from|from(kotlin.Int){}[0] + final fun serializer(): kotlinx.serialization/KSerializer // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.Companion.serializer|serializer(){}[0] + } + + final object DiscordLaunchActivity : dev.kord.common.entity/PrimaryEntryPointCommandHandlerType // dev.kord.common.entity/PrimaryEntryPointCommandHandlerType.DiscordLaunchActivity|null[0] +} + sealed class dev.kord.common.entity/RoleFlag { // dev.kord.common.entity/RoleFlag|null[0] final val shift // dev.kord.common.entity/RoleFlag.shift|{}shift[0] final fun (): kotlin/Int // dev.kord.common.entity/RoleFlag.shift.|(){}[0] diff --git a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/ApplicationCommandType.kt b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/ApplicationCommandType.kt index 14126c8ffb2..4bb876725fb 100644 --- a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/ApplicationCommandType.kt +++ b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/ApplicationCommandType.kt @@ -57,6 +57,12 @@ public sealed class ApplicationCommandType( */ public object Message : ApplicationCommandType(3) + /** + * A UI-based command that represents the primary way to invoke an app's + * [Activity](https://discord.com/developers/docs/activities/overview) + */ + public object PrimaryEntryPoint : ApplicationCommandType(4) + internal object Serializer : KSerializer { override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("dev.kord.common.entity.ApplicationCommandType", @@ -79,6 +85,7 @@ public sealed class ApplicationCommandType( ChatInput, User, Message, + PrimaryEntryPoint, ) } @@ -90,6 +97,7 @@ public sealed class ApplicationCommandType( 1 -> ChatInput 2 -> User 3 -> Message + 4 -> PrimaryEntryPoint else -> Unknown(value) } } diff --git a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/ApplicationIntegrationType.kt b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/ApplicationIntegrationType.kt new file mode 100644 index 00000000000..8452deb05bb --- /dev/null +++ b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/ApplicationIntegrationType.kt @@ -0,0 +1,92 @@ +// THIS FILE IS AUTO-GENERATED, DO NOT EDIT! +@file:Suppress(names = arrayOf("IncorrectFormatting", "ReplaceArrayOfWithLiteral", + "SpellCheckingInspection", "GrazieInspection")) + +package dev.kord.common.entity + +import kotlin.LazyThreadSafetyMode.PUBLICATION +import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializable +import kotlinx.serialization.descriptors.PrimitiveKind +import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +/** + * Where an app can be installed, also called its supported installation contexts + * + * See [ApplicationIntegrationType]s in the + * [Discord Developer Documentation](https://discord.com/developers/docs/resources/application#application-object-application-integration-types). + */ +@Serializable(with = ApplicationIntegrationType.Serializer::class) +public sealed class ApplicationIntegrationType( + /** + * The raw value used by Discord. + */ + public val `value`: Int, +) { + final override fun equals(other: Any?): Boolean = this === other || + (other is ApplicationIntegrationType && this.value == other.value) + + final override fun hashCode(): Int = value.hashCode() + + final override fun toString(): String = + if (this is Unknown) "ApplicationIntegrationType.Unknown(value=$value)" + else "ApplicationIntegrationType.${this::class.simpleName}" + + /** + * An unknown [ApplicationIntegrationType]. + * + * This is used as a fallback for [ApplicationIntegrationType]s that haven't been added to Kord + * yet. + */ + public class Unknown internal constructor( + `value`: Int, + ) : ApplicationIntegrationType(value) + + /** + * App is installable to servers + */ + public object GuildInstall : ApplicationIntegrationType(0) + + /** + * App is installable to users + */ + public object UserInstall : ApplicationIntegrationType(1) + + internal object Serializer : KSerializer { + override val descriptor: SerialDescriptor = + PrimitiveSerialDescriptor("dev.kord.common.entity.ApplicationIntegrationType", + PrimitiveKind.INT) + + override fun serialize(encoder: Encoder, `value`: ApplicationIntegrationType) { + encoder.encodeInt(value.value) + } + + override fun deserialize(decoder: Decoder): ApplicationIntegrationType = + from(decoder.decodeInt()) + } + + public companion object { + /** + * A [List] of all known [ApplicationIntegrationType]s. + */ + public val entries: List by lazy(mode = PUBLICATION) { + listOf( + GuildInstall, + UserInstall, + ) + } + + /** + * Returns an instance of [ApplicationIntegrationType] with + * [ApplicationIntegrationType.value] equal to the specified [value]. + */ + public fun from(`value`: Int): ApplicationIntegrationType = when (value) { + 0 -> GuildInstall + 1 -> UserInstall + else -> Unknown(value) + } + } +} diff --git a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/InteractionContextType.kt b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/InteractionContextType.kt new file mode 100644 index 00000000000..2460ea86bb5 --- /dev/null +++ b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/InteractionContextType.kt @@ -0,0 +1,98 @@ +// THIS FILE IS AUTO-GENERATED, DO NOT EDIT! +@file:Suppress(names = arrayOf("IncorrectFormatting", "ReplaceArrayOfWithLiteral", + "SpellCheckingInspection", "GrazieInspection")) + +package dev.kord.common.entity + +import kotlin.LazyThreadSafetyMode.PUBLICATION +import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializable +import kotlinx.serialization.descriptors.PrimitiveKind +import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +/** + * Context in Discord where an interaction can be used, or where it was triggered from. + * + * See [InteractionContextType]s in the + * [Discord Developer Documentation](https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-context-types). + */ +@Serializable(with = InteractionContextType.Serializer::class) +public sealed class InteractionContextType( + /** + * The raw value used by Discord. + */ + public val `value`: Int, +) { + final override fun equals(other: Any?): Boolean = this === other || + (other is InteractionContextType && this.value == other.value) + + final override fun hashCode(): Int = value.hashCode() + + final override fun toString(): String = + if (this is Unknown) "InteractionContextType.Unknown(value=$value)" + else "InteractionContextType.${this::class.simpleName}" + + /** + * An unknown [InteractionContextType]. + * + * This is used as a fallback for [InteractionContextType]s that haven't been added to Kord yet. + */ + public class Unknown internal constructor( + `value`: Int, + ) : InteractionContextType(value) + + /** + * Interaction can be used within servers + */ + public object Guild : InteractionContextType(0) + + /** + * Interaction can be used within DMs with the app's bot user + */ + public object BotDM : InteractionContextType(1) + + /** + * Interaction can be used within Group DMs and DMs other than the app's bot user + */ + public object PrivateChannel : InteractionContextType(2) + + internal object Serializer : KSerializer { + override val descriptor: SerialDescriptor = + PrimitiveSerialDescriptor("dev.kord.common.entity.InteractionContextType", + PrimitiveKind.INT) + + override fun serialize(encoder: Encoder, `value`: InteractionContextType) { + encoder.encodeInt(value.value) + } + + override fun deserialize(decoder: Decoder): InteractionContextType = + from(decoder.decodeInt()) + } + + public companion object { + /** + * A [List] of all known [InteractionContextType]s. + */ + public val entries: List by lazy(mode = PUBLICATION) { + listOf( + Guild, + BotDM, + PrivateChannel, + ) + } + + /** + * Returns an instance of [InteractionContextType] with [InteractionContextType.value] equal + * to the specified [value]. + */ + public fun from(`value`: Int): InteractionContextType = when (value) { + 0 -> Guild + 1 -> BotDM + 2 -> PrivateChannel + else -> Unknown(value) + } + } +} diff --git a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/InteractionResponseType.kt b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/InteractionResponseType.kt index e5bdb7de060..3fe28deb5a9 100644 --- a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/InteractionResponseType.kt +++ b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/InteractionResponseType.kt @@ -79,6 +79,11 @@ public sealed class InteractionResponseType( */ public object Modal : InteractionResponseType(9) + /** + * Launch the Activity associated with the app. Only available for apps with Activities enabled + */ + public object LaunchActivity : InteractionResponseType(12) + internal object Serializer : KSerializer { override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("dev.kord.common.entity.InteractionResponseType", @@ -105,6 +110,7 @@ public sealed class InteractionResponseType( UpdateMessage, ApplicationCommandAutoCompleteResult, Modal, + LaunchActivity, ) } @@ -120,6 +126,7 @@ public sealed class InteractionResponseType( 7 -> UpdateMessage 8 -> ApplicationCommandAutoCompleteResult 9 -> Modal + 12 -> LaunchActivity else -> Unknown(type) } } diff --git a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/Permission.kt b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/Permission.kt index ea64103fa22..64021d8d77e 100644 --- a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/Permission.kt +++ b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/Permission.kt @@ -312,6 +312,13 @@ public sealed class Permission( */ public object SendVoiceMessages : Permission(46) + /** + * Allows user-installed apps to send public responses. When disabled, users will still be + * allowed to use their apps but the responses will be ephemeral. This only applies to apps not + * also installed to the server. + */ + public object USE_EXTERNAL_APPS : Permission(50) + public companion object { /** * A [List] of all known [Permission]s. @@ -365,6 +372,7 @@ public sealed class Permission( CreateEvents, UseExternalSounds, SendVoiceMessages, + USE_EXTERNAL_APPS, ) } @@ -422,6 +430,7 @@ public sealed class Permission( 44 -> CreateEvents 45 -> UseExternalSounds 46 -> SendVoiceMessages + 50 -> USE_EXTERNAL_APPS else -> Unknown(shift) } } diff --git a/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/PrimaryEntryPointCommandHandlerType.kt b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/PrimaryEntryPointCommandHandlerType.kt new file mode 100644 index 00000000000..f5ac472dd2e --- /dev/null +++ b/common/build/generated/ksp/metadata/commonMain/kotlin/dev/kord/common/entity/PrimaryEntryPointCommandHandlerType.kt @@ -0,0 +1,91 @@ +// THIS FILE IS AUTO-GENERATED, DO NOT EDIT! +@file:Suppress(names = arrayOf("IncorrectFormatting", "ReplaceArrayOfWithLiteral", + "SpellCheckingInspection", "GrazieInspection")) + +package dev.kord.common.entity + +import kotlin.LazyThreadSafetyMode.PUBLICATION +import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializable +import kotlinx.serialization.descriptors.PrimitiveKind +import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +/** + * See [PrimaryEntryPointCommandHandlerType]s in the + * [Discord Developer Documentation](https://discord.com/developers/docs/interactions/application-commands#application-command-object-entry-point-command-handler-types). + */ +@Serializable(with = PrimaryEntryPointCommandHandlerType.Serializer::class) +public sealed class PrimaryEntryPointCommandHandlerType( + /** + * The raw value used by Discord. + */ + public val `value`: Int, +) { + final override fun equals(other: Any?): Boolean = this === other || + (other is PrimaryEntryPointCommandHandlerType && this.value == other.value) + + final override fun hashCode(): Int = value.hashCode() + + final override fun toString(): String = + if (this is Unknown) "PrimaryEntryPointCommandHandlerType.Unknown(value=$value)" + else "PrimaryEntryPointCommandHandlerType.${this::class.simpleName}" + + /** + * An unknown [PrimaryEntryPointCommandHandlerType]. + * + * This is used as a fallback for [PrimaryEntryPointCommandHandlerType]s that haven't been added + * to Kord yet. + */ + public class Unknown internal constructor( + `value`: Int, + ) : PrimaryEntryPointCommandHandlerType(value) + + /** + * The app handles the interaction using an interaction token + */ + public object AppHandler : PrimaryEntryPointCommandHandlerType(1) + + /** + * Discord handles the interaction by launching an Activity and sending a follow-up message + * without coordinating with the app + */ + public object DiscordLaunchActivity : PrimaryEntryPointCommandHandlerType(2) + + internal object Serializer : KSerializer { + override val descriptor: SerialDescriptor = + PrimitiveSerialDescriptor("dev.kord.common.entity.PrimaryEntryPointCommandHandlerType", + PrimitiveKind.INT) + + override fun serialize(encoder: Encoder, `value`: PrimaryEntryPointCommandHandlerType) { + encoder.encodeInt(value.value) + } + + override fun deserialize(decoder: Decoder): PrimaryEntryPointCommandHandlerType = + from(decoder.decodeInt()) + } + + public companion object { + /** + * A [List] of all known [PrimaryEntryPointCommandHandlerType]s. + */ + public val entries: List by lazy(mode = PUBLICATION) { + listOf( + AppHandler, + DiscordLaunchActivity, + ) + } + + /** + * Returns an instance of [PrimaryEntryPointCommandHandlerType] with + * [PrimaryEntryPointCommandHandlerType.value] equal to the specified [value]. + */ + public fun from(`value`: Int): PrimaryEntryPointCommandHandlerType = when (value) { + 1 -> AppHandler + 2 -> DiscordLaunchActivity + else -> Unknown(value) + } + } +} diff --git a/common/src/commonMain/kotlin/entity/DiscordApplication.kt b/common/src/commonMain/kotlin/entity/DiscordApplication.kt index c0858c20956..a07502a0352 100644 --- a/common/src/commonMain/kotlin/entity/DiscordApplication.kt +++ b/common/src/commonMain/kotlin/entity/DiscordApplication.kt @@ -57,6 +57,7 @@ package dev.kord.common.entity import dev.kord.common.entity.optional.Optional +import dev.kord.common.entity.optional.OptionalInt import dev.kord.common.entity.optional.OptionalSnowflake import dev.kord.ksp.Generate import dev.kord.ksp.Generate.EntityType.INT_FLAGS @@ -101,6 +102,7 @@ public data class DiscordApplication( val botPublic: Boolean, @SerialName("bot_require_code_grant") val botRequireCodeGrant: Boolean, + val bot: Optional = Optional.Missing(), @SerialName("terms_of_service_url") override val termsOfServiceUrl: Optional = Optional.Missing(), @SerialName("privacy_policy_url") @@ -111,15 +113,22 @@ public data class DiscordApplication( val team: DiscordTeam?, @SerialName("guild_id") override val guildId: OptionalSnowflake = OptionalSnowflake.Missing, + val guild: Optional = Optional.Missing(), @SerialName("primary_sku_id") override val primarySkuId: OptionalSnowflake = OptionalSnowflake.Missing, override val slug: Optional = Optional.Missing(), @SerialName("cover_image") override val coverImage: Optional = Optional.Missing(), override val flags: Optional = Optional.Missing(), + @SerialName("approximate_guild_count") + val approximateGuildCount: OptionalInt = OptionalInt.Missing, + @SerialName("approximate_user_install_count") + val approximateUserInstallCount: OptionalInt = OptionalInt.Missing, override val tags: Optional> = Optional.Missing(), @SerialName("install_params") override val installParams: Optional = Optional.Missing(), + @SerialName("integration_types_config") + val integrationTypesConfig: Optional> = Optional.Missing(), @SerialName("custom_install_url") override val customInstallUrl: Optional = Optional.Missing(), @SerialName("role_connections_verification_url") @@ -170,3 +179,10 @@ public data class InstallParams( /** The permissions to request for the bot role. */ val permissions: Permissions, ) + +@Serializable +public data class ApplicationIntegrationTypeConfig( + /** Install params for each installation context's default in-app authorization link */ + @SerialName("oauth2_install_params") + val oauth2InstallParams: Optional = Optional.Missing() +) diff --git a/common/src/commonMain/kotlin/entity/DiscordIntegration.kt b/common/src/commonMain/kotlin/entity/DiscordIntegration.kt index ac89a904c5b..310c4d24dbe 100644 --- a/common/src/commonMain/kotlin/entity/DiscordIntegration.kt +++ b/common/src/commonMain/kotlin/entity/DiscordIntegration.kt @@ -7,6 +7,16 @@ ], ) +@file:Generate( + INT_KORD_ENUM, name = "ApplicationIntegrationType", + docUrl = "https://discord.com/developers/docs/resources/application#application-object-application-integration-types", + kDoc = "Where an app can be installed, also called its supported installation contexts", + entries = [ + Entry("GuildInstall", intValue = 0, kDoc = "App is installable to servers"), + Entry("UserInstall", intValue = 1, kDoc = "App is installable to users"), + ], +) + package dev.kord.common.entity import dev.kord.common.entity.optional.Optional @@ -27,7 +37,6 @@ public data class DiscordIntegration( val name: String, val type: String, val enabled: Boolean, - val syncing: OptionalBoolean = OptionalBoolean.Missing, @SerialName("role_id") val roleId: OptionalSnowflake = OptionalSnowflake.Missing, @SerialName("enable_emoticons") diff --git a/common/src/commonMain/kotlin/entity/DiscordMessage.kt b/common/src/commonMain/kotlin/entity/DiscordMessage.kt index 2e64eca136e..0fd558b8d9a 100644 --- a/common/src/commonMain/kotlin/entity/DiscordMessage.kt +++ b/common/src/commonMain/kotlin/entity/DiscordMessage.kt @@ -235,11 +235,39 @@ public data class DiscordMessage( * This is a list even though the docs say it's a component */ val components: Optional> = Optional.Missing(), + val interactionMetadata: Optional = Optional.Missing(), + @Deprecated("Deprecated in favor of interactionMetadata", ReplaceWith("interactionMetadata")) val interaction: Optional = Optional.Missing(), val thread: Optional = Optional.Missing(), val position: OptionalInt = OptionalInt.Missing ) +/** + * Metadata about the interaction, including the source of the interaction and relevant server and user IDs. + * + * @property id The ID of the interaction. + * @property type The type of the interaction. + * @property user The user associated with the interaction. + * @property authorizingIntegrationOwners IDs for installation context(s) related to an interaction + * @property originalResponseMessageId ID of the original response message, present only on follow-up messages + * @property interactedMessageId ID of the message that contained interactive component, present only on messages created from component interactions + * @property triggeringInteractionMetadata Metadata for the interaction that was used to open the modal, present only on modal submit interactions + */ +@Serializable +public data class DiscordInteractionMetadata( + val id: Snowflake, + val type: InteractionType, + val user: DiscordUser, + @SerialName("authorizing_integration_owners") + val authorizingIntegrationOwners: IntegrationOwners, + @SerialName("original_response_message_id") + val originalResponseMessageId: OptionalSnowflake = OptionalSnowflake.Missing, + @SerialName("interacted_message_id") + val interactedMessageId: OptionalSnowflake = OptionalSnowflake.Missing, + @SerialName("triggering_interaction_metadata") + val triggeringInteractionMetadata: Optional = Optional.Missing() +) + /** * @param id id of the sticker * @param packId id of the pack the sticker is from @@ -371,6 +399,8 @@ public data class DiscordPartialMessage( val stickers: Optional> = Optional.Missing(), @SerialName("referenced_message") val referencedMessage: Optional = Optional.Missing(), + val interactionMetadata: Optional = Optional.Missing(), + @Deprecated("Deprecated in favor of interactionMetadata") val interaction: Optional = Optional.Missing(), val position: OptionalInt = OptionalInt.Missing, ) diff --git a/common/src/commonMain/kotlin/entity/Interactions.kt b/common/src/commonMain/kotlin/entity/Interactions.kt index 57e125fb7ac..08b0a22de95 100644 --- a/common/src/commonMain/kotlin/entity/Interactions.kt +++ b/common/src/commonMain/kotlin/entity/Interactions.kt @@ -8,9 +8,25 @@ "Message", intValue = 3, kDoc = "A UI-based command that shows up when you right-click or tap on a message.", ), + Entry( + "PrimaryEntryPoint", intValue = 4, + kDoc = "A UI-based command that represents the primary way to invoke an app's [Activity](https://discord.com/developers/docs/activities/overview)" + ) ], ) +@file:Generate( + INT_KORD_ENUM, name = "PrimaryEntryPointCommandHandlerType", + docUrl = "https://discord.com/developers/docs/interactions/application-commands#application-command-object-entry-point-command-handler-types", + entries = [ + Entry("AppHandler", intValue = 1, kDoc = "The app handles the interaction using an interaction token"), + Entry( + "DiscordLaunchActivity", intValue = 2, + kDoc = "Discord handles the interaction by launching an Activity and sending a follow-up message without coordinating with the app" + ) + ] +) + @file:Generate( INT_KORD_ENUM, name = "ApplicationCommandOptionType", valueName = "type", docUrl = "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type", @@ -54,7 +70,7 @@ Entry( "DeferredUpdateMessage", intValue = 6, kDoc = "For components, ACK an interaction and edit the original message later; the user does not see a " + - "loading state.", + "loading state.", ), Entry("UpdateMessage", intValue = 7, kDoc = "For components, edit the message the component was attached to."), Entry( @@ -62,6 +78,7 @@ kDoc = "Respond to an autocomplete interaction with suggested choices.", ), Entry("Modal", intValue = 9, kDoc = "Respond to an interaction with a popup modal."), + Entry("LaunchActivity", intValue = 12, kDoc = "\tLaunch the Activity associated with the app. Only available for apps with Activities enabled") ], ) @@ -75,6 +92,21 @@ ], ) +@file:Generate( + INT_KORD_ENUM, name = "InteractionContextType", + docUrl = "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-context-types", + kDoc = "Context in Discord where an interaction can be used, or where it was triggered from.", + entries = [ + Entry("Guild", intValue = 0, kDoc = "Interaction can be used within servers"), + Entry("BotDM", intValue = 1, kDoc = "Interaction can be used within DMs with the app's bot user"), + Entry( + "PrivateChannel", + intValue = 2, + kDoc = "Interaction can be used within Group DMs and DMs other than the app's bot user\n" + ), + ] +) + package dev.kord.common.entity import dev.kord.common.Locale @@ -92,6 +124,8 @@ import kotlinx.serialization.descriptors.buildClassSerialDescriptor import kotlinx.serialization.encoding.* import kotlinx.serialization.json.* +public typealias IntegrationOwners = Map + @Serializable public data class DiscordApplicationCommand( val id: Snowflake, @@ -118,6 +152,9 @@ public data class DiscordApplicationCommand( @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'.") val defaultPermission: OptionalBoolean? = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, + @SerialName("integration_types") + val integrationTypes: Optional> = Optional.Missing(), + val contexts: Optional?> = Optional.Missing(), val version: Snowflake ) @@ -246,6 +283,7 @@ public data class DiscordInteraction( val data: InteractionCallbackData, @SerialName("guild_id") val guildId: OptionalSnowflake = OptionalSnowflake.Missing, + val guild: Optional = Optional.Missing(), val channel: Optional = Optional.Missing(), @SerialName("channel_id") val channelId: OptionalSnowflake = OptionalSnowflake.Missing, @@ -256,14 +294,20 @@ public data class DiscordInteraction( @Serializable(with = MaybeMessageSerializer::class) val message: Optional = Optional.Missing(), @SerialName("app_permissions") - val appPermissions: Optional = Optional.Missing(), + val appPermissions: Permissions, val locale: Optional = Optional.Missing(), @SerialName("guild_locale") val guildLocale: Optional = Optional.Missing(), + @SerialName("authorizing_integration_owners") + val authorizingIntegrationOwners: IntegrationOwners, + val context: Optional = Optional.Missing(), // Don't trust the docs: This can be missing val entitlements: Optional> = Optional.Missing(), ) { + @Serializable + public data class Guild(val locale: Locale, val id: Snowflake, val features: List) + /** * Serializer that handles incomplete messages in [DiscordInteraction.message]. Discards * any incomplete messages as missing optionals. @@ -293,7 +337,6 @@ public data class DiscordInteraction( } } - @Serializable public data class InteractionCallbackData( val id: OptionalSnowflake = OptionalSnowflake.Missing, @@ -345,8 +388,10 @@ public sealed class Option { 2 -> jsonOptions = decodeSerializableElement(descriptor, index, JsonArray.serializer()) 3 -> type = decodeSerializableElement(descriptor, index, ApplicationCommandOptionType.serializer()) + 4 -> focused = decodeSerializableElement(descriptor, index, OptionalBoolean.serializer()) + CompositeDecoder.DECODE_DONE -> return@decodeStructure else -> throw SerializationException("unknown index: $index") } @@ -373,6 +418,7 @@ public sealed class Option { CommandGroup(name, options) } + ApplicationCommandOptionType.Boolean, ApplicationCommandOptionType.Channel, ApplicationCommandOptionType.Integer, @@ -384,6 +430,7 @@ public sealed class Option { ApplicationCommandOptionType.User -> CommandArgument.Serializer.deserialize( json, jsonValue!!, name, type!!, focused ) + is ApplicationCommandOptionType.Unknown -> error("unknown ApplicationCommandOptionType $type") } } @@ -403,6 +450,7 @@ public sealed class Option { descriptor, 3, ApplicationCommandOptionType.serializer(), value.type ) } + is SubCommand -> encoder.encodeStructure(descriptor) { encodeSerializableElement( descriptor, 0, String.serializer(), value.name @@ -552,24 +600,28 @@ public sealed class CommandArgument : Option() { Snowflake.serializer(), value.value ) + is RoleArgument -> encodeSerializableElement( descriptor, 1, Snowflake.serializer(), value.value ) + is MentionableArgument -> encodeSerializableElement( descriptor, 1, Snowflake.serializer(), value.value ) + is UserArgument -> encodeSerializableElement( descriptor, 1, Snowflake.serializer(), value.value ) + is IntegerArgument -> encodeLongElement(descriptor, 1, value.value) is NumberArgument -> encodeDoubleElement(descriptor, 1, value.value) is AttachmentArgument -> encodeSerializableElement( @@ -578,6 +630,7 @@ public sealed class CommandArgument : Option() { Snowflake.serializer(), value.value ) + is AutoCompleteArgument, is StringArgument -> encodeStringElement( descriptor, 1, @@ -605,9 +658,11 @@ public sealed class CommandArgument : Option() { ApplicationCommandOptionType.Boolean -> BooleanArgument( name, json.decodeFromJsonElement(Boolean.serializer(), element), focused ) + ApplicationCommandOptionType.String -> StringArgument( name, json.decodeFromJsonElement(String.serializer(), element), focused ) + ApplicationCommandOptionType.Integer -> IntegerArgument( name, json.decodeFromJsonElement(Long.serializer(), element), focused ) @@ -615,21 +670,27 @@ public sealed class CommandArgument : Option() { ApplicationCommandOptionType.Number -> NumberArgument( name, json.decodeFromJsonElement(Double.serializer(), element), focused ) + ApplicationCommandOptionType.Channel -> ChannelArgument( name, json.decodeFromJsonElement(Snowflake.serializer(), element), focused ) + ApplicationCommandOptionType.Mentionable -> MentionableArgument( name, json.decodeFromJsonElement(Snowflake.serializer(), element), focused ) + ApplicationCommandOptionType.Role -> RoleArgument( name, json.decodeFromJsonElement(Snowflake.serializer(), element), focused ) + ApplicationCommandOptionType.User -> UserArgument( name, json.decodeFromJsonElement(Snowflake.serializer(), element), focused ) + ApplicationCommandOptionType.Attachment -> AttachmentArgument( name, json.decodeFromJsonElement(Snowflake.serializer(), element), focused ) + ApplicationCommandOptionType.SubCommand, ApplicationCommandOptionType.SubCommandGroup, is ApplicationCommandOptionType.Unknown -> error("unknown CommandArgument type ${type.type}") diff --git a/common/src/commonMain/kotlin/entity/Permissions.kt b/common/src/commonMain/kotlin/entity/Permissions.kt index 2831aa0ed73..ceb3a1c9aca 100644 --- a/common/src/commonMain/kotlin/entity/Permissions.kt +++ b/common/src/commonMain/kotlin/entity/Permissions.kt @@ -96,6 +96,11 @@ kDoc = "Allows the usage of custom soundboard sounds from other servers." ), Entry("SendVoiceMessages", shift = 46, kDoc = "Allows sending voice messages."), + Entry( + "USE_EXTERNAL_APPS", + shift = 50, + kDoc = "Allows user-installed apps to send public responses. When disabled, users will still be allowed to use their apps but the responses will be ephemeral. This only applies to apps not also installed to the server." + ) ], ) diff --git a/common/src/commonMain/kotlin/entity/Snowflake.kt b/common/src/commonMain/kotlin/entity/Snowflake.kt index 1fcc7af932b..16f42ac8573 100644 --- a/common/src/commonMain/kotlin/entity/Snowflake.kt +++ b/common/src/commonMain/kotlin/entity/Snowflake.kt @@ -1,6 +1,5 @@ package dev.kord.common.entity -import dev.kord.common.entity.Snowflake.Companion.validValues import kotlinx.datetime.Clock import kotlinx.datetime.Instant import kotlinx.serialization.KSerializer diff --git a/common/src/commonMain/kotlin/entity/optional/Optional.kt b/common/src/commonMain/kotlin/entity/optional/Optional.kt index 561a6bd85e7..1e6fb7a0730 100644 --- a/common/src/commonMain/kotlin/entity/optional/Optional.kt +++ b/common/src/commonMain/kotlin/entity/optional/Optional.kt @@ -131,6 +131,11 @@ public sealed class Optional { if (value.isEmpty()) Missing() else Value(value) + public fun > Optional.missingOnEmpty(): Optional = when(this) { + is Value -> if (value.isEmpty()) Missing() else this + else -> this + } + /** * Returns a [Missing] optional of type [T]. */ diff --git a/common/src/commonTest/kotlin/entity/MessageFlagTest.kt b/common/src/commonTest/kotlin/entity/MessageFlagTest.kt index 75ae4296efa..d6ec3629231 100644 --- a/common/src/commonTest/kotlin/entity/MessageFlagTest.kt +++ b/common/src/commonTest/kotlin/entity/MessageFlagTest.kt @@ -1,6 +1,5 @@ package dev.kord.common.entity -import dev.kord.ksp.Generate.EntityType.INT_FLAGS import kotlin.random.Random import kotlin.random.nextInt import kotlin.test.Test diff --git a/common/src/commonTest/kotlin/entity/PermissionTest.kt b/common/src/commonTest/kotlin/entity/PermissionTest.kt index 1eed68d0a19..87f872cc0f6 100644 --- a/common/src/commonTest/kotlin/entity/PermissionTest.kt +++ b/common/src/commonTest/kotlin/entity/PermissionTest.kt @@ -1,6 +1,5 @@ package dev.kord.common.entity -import dev.kord.ksp.Generate.EntityType.BIT_SET_FLAGS import kotlin.random.Random import kotlin.random.nextInt import kotlin.test.* diff --git a/common/src/commonTest/kotlin/entity/optional/OptionalBooleanTest.kt b/common/src/commonTest/kotlin/entity/optional/OptionalBooleanTest.kt index 687a8656944..f14aa16f53d 100644 --- a/common/src/commonTest/kotlin/entity/optional/OptionalBooleanTest.kt +++ b/common/src/commonTest/kotlin/entity/optional/OptionalBooleanTest.kt @@ -2,7 +2,6 @@ package dev.kord.common.entity.optional import kotlinx.serialization.Serializable import kotlinx.serialization.SerializationException -import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import kotlin.js.JsName import kotlin.test.Test diff --git a/common/src/commonTest/kotlin/entity/optional/OptionalIntTest.kt b/common/src/commonTest/kotlin/entity/optional/OptionalIntTest.kt index fcd994c462e..21416bffc2f 100644 --- a/common/src/commonTest/kotlin/entity/optional/OptionalIntTest.kt +++ b/common/src/commonTest/kotlin/entity/optional/OptionalIntTest.kt @@ -2,7 +2,6 @@ package dev.kord.common.entity.optional import kotlinx.serialization.Serializable import kotlinx.serialization.SerializationException -import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import kotlin.js.JsName import kotlin.test.* diff --git a/common/src/commonTest/kotlin/entity/optional/OptionalLongTest.kt b/common/src/commonTest/kotlin/entity/optional/OptionalLongTest.kt index f576edae6e3..4cabd5dacfe 100644 --- a/common/src/commonTest/kotlin/entity/optional/OptionalLongTest.kt +++ b/common/src/commonTest/kotlin/entity/optional/OptionalLongTest.kt @@ -2,7 +2,6 @@ package dev.kord.common.entity.optional import kotlinx.serialization.Serializable import kotlinx.serialization.SerializationException -import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import kotlin.js.JsName import kotlin.test.* diff --git a/common/src/commonTest/kotlin/entity/optional/OptionalSnowflakeTest.kt b/common/src/commonTest/kotlin/entity/optional/OptionalSnowflakeTest.kt index 2ff3cf3a409..c2768b198cf 100644 --- a/common/src/commonTest/kotlin/entity/optional/OptionalSnowflakeTest.kt +++ b/common/src/commonTest/kotlin/entity/optional/OptionalSnowflakeTest.kt @@ -3,7 +3,6 @@ package dev.kord.common.entity.optional import dev.kord.common.entity.Snowflake import kotlinx.serialization.Serializable import kotlinx.serialization.SerializationException -import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import kotlin.js.JsName import kotlin.test.* diff --git a/common/src/commonTest/kotlin/entity/optional/OptionalTest.kt b/common/src/commonTest/kotlin/entity/optional/OptionalTest.kt index 25879bfaff6..18fbffeff22 100644 --- a/common/src/commonTest/kotlin/entity/optional/OptionalTest.kt +++ b/common/src/commonTest/kotlin/entity/optional/OptionalTest.kt @@ -2,7 +2,6 @@ package dev.kord.common.entity.optional import kotlinx.serialization.Serializable import kotlinx.serialization.SerializationException -import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import kotlin.js.JsName import kotlin.test.Test diff --git a/common/src/commonTest/kotlin/json/ChannelTest.kt b/common/src/commonTest/kotlin/json/ChannelTest.kt index 9851007c24d..325f3260222 100644 --- a/common/src/commonTest/kotlin/json/ChannelTest.kt +++ b/common/src/commonTest/kotlin/json/ChannelTest.kt @@ -6,8 +6,8 @@ import dev.kord.common.readFile import kotlinx.coroutines.test.runTest import kotlinx.serialization.json.Json import kotlin.js.JsName -import kotlin.time.Duration.Companion.seconds import kotlin.test.Test +import kotlin.time.Duration.Companion.seconds private suspend fun file(name: String): String = readFile("channel", name) diff --git a/common/src/commonTest/resources/json/interaction/groupsubcommand.json b/common/src/commonTest/resources/json/interaction/groupsubcommand.json index d006f7b3def..8f2b012227b 100644 --- a/common/src/commonTest/resources/json/interaction/groupsubcommand.json +++ b/common/src/commonTest/resources/json/interaction/groupsubcommand.json @@ -55,6 +55,7 @@ "app_permissions": "2147483647", "locale": "de", "guild_locale": "en-US", + "authorizing_integration_owners": {"0": "0"}, "entitlements": [ { "id":"0", diff --git a/common/src/commonTest/resources/json/interaction/rootcommand.json b/common/src/commonTest/resources/json/interaction/rootcommand.json index e4cb9d35f24..9b17980c9f0 100644 --- a/common/src/commonTest/resources/json/interaction/rootcommand.json +++ b/common/src/commonTest/resources/json/interaction/rootcommand.json @@ -43,6 +43,7 @@ "app_permissions": "2147483647", "locale": "de", "guild_locale": "en-US", + "authorizing_integration_owners": {"0": "0"}, "entitlements": [ { "id":"0", diff --git a/common/src/commonTest/resources/json/interaction/selectmenu.json b/common/src/commonTest/resources/json/interaction/selectmenu.json index cdcabba7562..d78ac52083d 100644 --- a/common/src/commonTest/resources/json/interaction/selectmenu.json +++ b/common/src/commonTest/resources/json/interaction/selectmenu.json @@ -131,5 +131,6 @@ "type":8, "deleted":false } - ] + ], + "authorizing_integration_owners": {"0": "0"} } diff --git a/common/src/commonTest/resources/json/interaction/subcommand.json b/common/src/commonTest/resources/json/interaction/subcommand.json index 9941d0d510e..39ed4cd4236 100644 --- a/common/src/commonTest/resources/json/interaction/subcommand.json +++ b/common/src/commonTest/resources/json/interaction/subcommand.json @@ -49,6 +49,7 @@ "app_permissions": "2147483647", "locale": "de", "guild_locale": "en-US", + "authorizing_integration_owners": {"0": "0"}, "entitlements": [ { "id":"0", diff --git a/common/src/jvmTest/kotlin/ColorTestsJvm.kt b/common/src/jvmTest/kotlin/ColorTestsJvm.kt index c5e15b31c54..8a81fd5fec8 100644 --- a/common/src/jvmTest/kotlin/ColorTestsJvm.kt +++ b/common/src/jvmTest/kotlin/ColorTestsJvm.kt @@ -1,8 +1,7 @@ package dev.kord.common -import kotlin.test.assertEquals - import kotlin.test.Test +import kotlin.test.assertEquals class ColorTestsJvm { @Test diff --git a/core/api/core.api b/core/api/core.api index a038d4920bb..8ca19621c98 100644 --- a/core/api/core.api +++ b/core/api/core.api @@ -17,6 +17,8 @@ public final class dev/kord/core/Kord : kotlinx/coroutines/CoroutineScope { public static synthetic fun createGlobalChatInputCommand$default (Ldev/kord/core/Kord;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGlobalMessageCommand (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGlobalMessageCommand$default (Ldev/kord/core/Kord;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun createGlobalPrimaryEntryPointCommand (Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun createGlobalPrimaryEntryPointCommand$default (Ldev/kord/core/Kord;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGlobalUserCommand (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGlobalUserCommand$default (Ldev/kord/core/Kord;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGuild (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -25,6 +27,8 @@ public final class dev/kord/core/Kord : kotlinx/coroutines/CoroutineScope { public static synthetic fun createGuildChatInputCommand$default (Ldev/kord/core/Kord;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGuildMessageCommand (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGuildMessageCommand$default (Ldev/kord/core/Kord;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun createGuildPrimaryEntryPointCommand (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun createGuildPrimaryEntryPointCommand$default (Ldev/kord/core/Kord;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGuildUserCommand (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGuildUserCommand$default (Ldev/kord/core/Kord;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun editPresence (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -180,6 +184,14 @@ public final class dev/kord/core/behavior/ChatInputCommandBehavior$DefaultImpls public static fun compareTo (Ldev/kord/core/behavior/ChatInputCommandBehavior;Ldev/kord/core/entity/Entity;)I } +public abstract interface class dev/kord/core/behavior/EntryPointCommandBehavior : dev/kord/core/behavior/ApplicationCommandBehavior { + public abstract fun edit (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class dev/kord/core/behavior/EntryPointCommandBehavior$DefaultImpls { + public static fun compareTo (Ldev/kord/core/behavior/EntryPointCommandBehavior;Ldev/kord/core/entity/Entity;)I +} + public abstract interface class dev/kord/core/behavior/GlobalApplicationCommandBehavior : dev/kord/core/behavior/ApplicationCommandBehavior { public abstract fun delete (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } @@ -204,6 +216,16 @@ public final class dev/kord/core/behavior/GlobalChatInputCommandBehavior$Default public static fun edit (Ldev/kord/core/behavior/GlobalChatInputCommandBehavior;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } +public abstract interface class dev/kord/core/behavior/GlobalEntryPointCommandBehavior : dev/kord/core/behavior/EntryPointCommandBehavior, dev/kord/core/behavior/GlobalApplicationCommandBehavior { + public abstract fun edit (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class dev/kord/core/behavior/GlobalEntryPointCommandBehavior$DefaultImpls { + public static fun compareTo (Ldev/kord/core/behavior/GlobalEntryPointCommandBehavior;Ldev/kord/core/entity/Entity;)I + public static fun delete (Ldev/kord/core/behavior/GlobalEntryPointCommandBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun edit (Ldev/kord/core/behavior/GlobalEntryPointCommandBehavior;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + public abstract interface class dev/kord/core/behavior/GlobalMessageCommandBehavior : dev/kord/core/behavior/GlobalApplicationCommandBehavior, dev/kord/core/behavior/MessageCommandBehavior { public abstract fun edit (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } @@ -461,6 +483,16 @@ public final class dev/kord/core/behavior/GuildEmojiBehaviorKt { public static final fun edit (Ldev/kord/core/behavior/GuildEmojiBehavior;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } +public abstract interface class dev/kord/core/behavior/GuildEntryPointCommandBehavior : dev/kord/core/behavior/EntryPointCommandBehavior, dev/kord/core/behavior/GuildApplicationCommandBehavior { + public abstract fun edit (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + +public final class dev/kord/core/behavior/GuildEntryPointCommandBehavior$DefaultImpls { + public static fun compareTo (Ldev/kord/core/behavior/GuildEntryPointCommandBehavior;Ldev/kord/core/entity/Entity;)I + public static fun delete (Ldev/kord/core/behavior/GuildEntryPointCommandBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun edit (Ldev/kord/core/behavior/GuildEntryPointCommandBehavior;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + public abstract interface class dev/kord/core/behavior/GuildMessageCommandBehavior : dev/kord/core/behavior/GuildApplicationCommandBehavior, dev/kord/core/behavior/MessageCommandBehavior { public abstract fun edit (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } @@ -1746,6 +1778,7 @@ public abstract interface class dev/kord/core/behavior/interaction/ActionInterac public abstract fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public abstract fun getOriginalInteractionResponse (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public abstract fun getOriginalInteractionResponseOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public abstract fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public abstract fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; } @@ -1760,6 +1793,7 @@ public final class dev/kord/core/behavior/interaction/ActionInteractionBehavior$ public static fun getChannelOrNull (Ldev/kord/core/behavior/interaction/ActionInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponse (Ldev/kord/core/behavior/interaction/ActionInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponseOrNull (Ldev/kord/core/behavior/interaction/ActionInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun openActivity (Ldev/kord/core/behavior/interaction/ActionInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun withStrategy (Ldev/kord/core/behavior/interaction/ActionInteractionBehavior;Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; } @@ -1785,6 +1819,7 @@ public final class dev/kord/core/behavior/interaction/ApplicationCommandInteract public static fun getChannelOrNull (Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponse (Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponseOrNull (Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun openActivity (Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun withStrategy (Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior;Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; } @@ -1825,6 +1860,7 @@ public final class dev/kord/core/behavior/interaction/ComponentInteractionBehavi public static fun getChannelOrNull (Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponse (Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponseOrNull (Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun openActivity (Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun withStrategy (Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior;Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior; } @@ -1916,6 +1952,7 @@ public final class dev/kord/core/behavior/interaction/ModalParentInteractionBeha public static fun getChannelOrNull (Ldev/kord/core/behavior/interaction/ModalParentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponse (Ldev/kord/core/behavior/interaction/ModalParentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getOriginalInteractionResponseOrNull (Ldev/kord/core/behavior/interaction/ModalParentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun openActivity (Ldev/kord/core/behavior/interaction/ModalParentInteractionBehavior;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/kord/core/behavior/interaction/ModalParentInteractionBehaviorKt { @@ -2611,22 +2648,25 @@ public final class dev/kord/core/cache/data/ApplicationCommandSubcommandData$Com public final class dev/kord/core/cache/data/ApplicationData : dev/kord/core/cache/data/BaseApplicationData { public static final field Companion Ldev/kord/core/cache/data/ApplicationData$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; - public final fun component10 ()Ldev/kord/common/entity/optional/OptionalSnowflake; - public final fun component11 ()Ljava/lang/String; - public final fun component12 ()Ldev/kord/core/cache/data/TeamData; - public final fun component13 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component10 ()Ldev/kord/common/entity/optional/Optional; + public final fun component11 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component12 ()Ljava/lang/String; + public final fun component13 ()Ldev/kord/core/cache/data/TeamData; public final fun component14 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component15 ()Ldev/kord/common/entity/optional/Optional; - public final fun component16 ()Ldev/kord/common/entity/optional/Optional; + public final fun component16 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component17 ()Ldev/kord/common/entity/optional/Optional; public final fun component18 ()Ldev/kord/common/entity/optional/Optional; public final fun component19 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ljava/lang/String; public final fun component20 ()Ldev/kord/common/entity/optional/Optional; public final fun component21 ()Ldev/kord/common/entity/optional/Optional; + public final fun component22 ()Ldev/kord/common/entity/optional/Optional; + public final fun component23 ()Ldev/kord/common/entity/optional/Optional; + public final fun component24 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; @@ -2634,19 +2674,22 @@ public final class dev/kord/core/cache/data/ApplicationData : dev/kord/core/cach public final fun component7 ()Z public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/core/cache/data/ApplicationData; - public static synthetic fun copy$default (Ldev/kord/core/cache/data/ApplicationData;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/core/cache/data/ApplicationData; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/core/cache/data/ApplicationData; + public static synthetic fun copy$default (Ldev/kord/core/cache/data/ApplicationData;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ZZLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ljava/lang/String;Ldev/kord/core/cache/data/TeamData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/core/cache/data/ApplicationData; public fun equals (Ljava/lang/Object;)Z + public final fun getBot ()Ldev/kord/common/entity/optional/Optional; public final fun getBotPublic ()Z public final fun getBotRequireCodeGrant ()Z public fun getCoverImage ()Ldev/kord/common/entity/optional/Optional; public fun getCustomInstallUrl ()Ldev/kord/common/entity/optional/Optional; public fun getDescription ()Ljava/lang/String; public fun getFlags ()Ldev/kord/common/entity/optional/Optional; + public final fun getGuild ()Ldev/kord/common/entity/optional/Optional; public fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun getIcon ()Ljava/lang/String; public fun getId ()Ldev/kord/common/entity/Snowflake; public fun getInstallParams ()Ldev/kord/common/entity/optional/Optional; + public final fun getIntegrationTypesConfig ()Ldev/kord/common/entity/optional/Optional; public fun getName ()Ljava/lang/String; public fun getOwnerId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun getPrimarySkuId ()Ldev/kord/common/entity/optional/OptionalSnowflake; @@ -3920,26 +3963,25 @@ public final class dev/kord/core/cache/data/GuildWidgetData$Companion { public final class dev/kord/core/cache/data/IntegrationData { public static final field Companion Ldev/kord/core/cache/data/IntegrationData$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ldev/kord/common/entity/optional/Optional; - public final fun component11 ()Ldev/kord/common/entity/optional/Optional; - public final fun component12 ()Ldev/kord/core/cache/data/IntegrationsAccountData; - public final fun component13 ()Ldev/kord/common/entity/optional/Optional; - public final fun component14 ()Ldev/kord/common/entity/optional/OptionalInt; - public final fun component15 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun component16 ()Ldev/kord/common/entity/optional/Optional; + public final fun component11 ()Ldev/kord/core/cache/data/IntegrationsAccountData; + public final fun component12 ()Ldev/kord/common/entity/optional/Optional; + public final fun component13 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component14 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component15 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ldev/kord/common/entity/Snowflake; public final fun component3 ()Ljava/lang/String; public final fun component4 ()Ljava/lang/String; public final fun component5 ()Z - public final fun component6 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun component7 ()Ldev/kord/common/entity/optional/OptionalSnowflake; - public final fun component8 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component6 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component7 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/core/cache/data/IntegrationData; - public static synthetic fun copy$default (Ldev/kord/core/cache/data/IntegrationData;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/core/cache/data/IntegrationData; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/core/cache/data/IntegrationData; + public static synthetic fun copy$default (Ldev/kord/core/cache/data/IntegrationData;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/core/cache/data/IntegrationsAccountData;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/core/cache/data/IntegrationData; public fun equals (Ljava/lang/Object;)Z public final fun getAccount ()Ldev/kord/core/cache/data/IntegrationsAccountData; public final fun getApplication ()Ldev/kord/common/entity/optional/Optional; @@ -3954,7 +3996,6 @@ public final class dev/kord/core/cache/data/IntegrationData { public final fun getRoleId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getSubscriberCount ()Ldev/kord/common/entity/optional/OptionalInt; public final fun getSyncedAt ()Ldev/kord/common/entity/optional/Optional; - public final fun getSyncing ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getType ()Ljava/lang/String; public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I @@ -4009,17 +4050,19 @@ public final class dev/kord/core/cache/data/IntegrationsAccountData$Companion { public final class dev/kord/core/cache/data/InteractionData { public static final field Companion Ldev/kord/core/cache/data/InteractionData$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ljava/lang/String; public final fun component11 ()Ldev/kord/common/entity/optional/Optional; public final fun component12 ()I public final fun component13 ()Ldev/kord/common/entity/optional/Optional; - public final fun component14 ()Ldev/kord/common/entity/optional/Optional; + public final fun component14 ()Ldev/kord/common/entity/Permissions; public final fun component15 ()Ldev/kord/common/entity/optional/Optional; public final fun component16 ()Ldev/kord/common/entity/optional/Optional; - public final fun component17 ()Ldev/kord/common/entity/optional/Optional; + public final fun component17 ()Ljava/util/Map; + public final fun component18 ()Ldev/kord/common/entity/optional/Optional; + public final fun component19 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ldev/kord/common/entity/Snowflake; public final fun component3 ()Ldev/kord/common/entity/InteractionType; public final fun component4 ()Ldev/kord/core/cache/data/ApplicationInteractionData; @@ -4028,13 +4071,15 @@ public final class dev/kord/core/cache/data/InteractionData { public final fun component7 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/core/cache/data/InteractionData; - public static synthetic fun copy$default (Ldev/kord/core/cache/data/InteractionData;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/core/cache/data/InteractionData; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/core/cache/data/InteractionData; + public static synthetic fun copy$default (Ldev/kord/core/cache/data/InteractionData;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/ApplicationInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/Permissions;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/util/Map;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/core/cache/data/InteractionData; public fun equals (Ljava/lang/Object;)Z - public final fun getAppPermissions ()Ldev/kord/common/entity/optional/Optional; + public final fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public final fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public final fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public final fun getChannel ()Ldev/kord/common/entity/optional/Optional; public final fun getChannelId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getContext ()Ldev/kord/common/entity/optional/Optional; public final fun getData ()Ldev/kord/core/cache/data/ApplicationInteractionData; public final fun getEntitlements ()Ldev/kord/common/entity/optional/Optional; public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; @@ -4068,6 +4113,47 @@ public final class dev/kord/core/cache/data/InteractionData$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/core/cache/data/InteractionMetadataData { + public static final field Companion Ldev/kord/core/cache/data/InteractionMetadataData$Companion; + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/UserData;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/UserData;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/kord/common/entity/Snowflake; + public final fun component2 ()Ldev/kord/common/entity/InteractionType; + public final fun component3 ()Ldev/kord/core/cache/data/UserData; + public final fun component4 ()Ljava/util/Map; + public final fun component5 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component6 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component7 ()Ldev/kord/common/entity/optional/Optional; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/UserData;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/core/cache/data/InteractionMetadataData; + public static synthetic fun copy$default (Ldev/kord/core/cache/data/InteractionMetadataData;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/core/cache/data/UserData;Ljava/util/Map;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/core/cache/data/InteractionMetadataData; + public fun equals (Ljava/lang/Object;)Z + public final fun getAuthorizingIntegrationOwners ()Ljava/util/Map; + public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getInteractedMessageId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getOriginalResponseMessageId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getTriggeringInteractionMetadata ()Ldev/kord/common/entity/optional/Optional; + public final fun getType ()Ldev/kord/common/entity/InteractionType; + public final fun getUser ()Ldev/kord/core/cache/data/UserData; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class dev/kord/core/cache/data/InteractionMetadataData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/core/cache/data/InteractionMetadataData$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/core/cache/data/InteractionMetadataData; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/core/cache/data/InteractionMetadataData;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/core/cache/data/InteractionMetadataData$Companion { + public final fun from (Ldev/kord/common/entity/DiscordInteractionMetadata;)Ldev/kord/core/cache/data/InteractionMetadataData; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/core/cache/data/InviteCreateData { public static final field Companion Ldev/kord/core/cache/data/InviteCreateData$Companion; public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlinx/datetime/Instant;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;JILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;ZIILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -4363,8 +4449,8 @@ public final class dev/kord/core/cache/data/MembersChunkData$Companion { public final class dev/kord/core/cache/data/MessageData { public static final field Companion Ldev/kord/core/cache/data/MessageData$Companion; - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ljava/util/List; public final fun component11 ()Ljava/util/List; @@ -4388,15 +4474,16 @@ public final class dev/kord/core/cache/data/MessageData { public final fun component28 ()Ldev/kord/common/entity/optional/Optional; public final fun component29 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ldev/kord/common/entity/optional/OptionalSnowflake; - public final fun component30 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component30 ()Ldev/kord/common/entity/optional/Optional; + public final fun component31 ()Ldev/kord/common/entity/optional/OptionalInt; public final fun component4 ()Ldev/kord/core/cache/data/UserData; public final fun component5 ()Ljava/lang/String; public final fun component6 ()Lkotlinx/datetime/Instant; public final fun component7 ()Lkotlinx/datetime/Instant; public final fun component8 ()Z public final fun component9 ()Z - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/core/cache/data/MessageData; - public static synthetic fun copy$default (Ldev/kord/core/cache/data/MessageData;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILjava/lang/Object;)Ldev/kord/core/cache/data/MessageData; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/core/cache/data/MessageData; + public static synthetic fun copy$default (Ldev/kord/core/cache/data/MessageData;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/core/cache/data/UserData;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlinx/datetime/Instant;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;ILjava/lang/Object;)Ldev/kord/core/cache/data/MessageData; public fun equals (Ljava/lang/Object;)Z public final fun getActivity ()Ldev/kord/common/entity/optional/Optional; public final fun getApplication ()Ldev/kord/common/entity/optional/Optional; @@ -4412,6 +4499,7 @@ public final class dev/kord/core/cache/data/MessageData { public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; public final fun getInteraction ()Ldev/kord/common/entity/optional/Optional; + public final fun getInteractionMetadata ()Ldev/kord/common/entity/optional/Optional; public final fun getMentionEveryone ()Z public final fun getMentionRoles ()Ljava/util/List; public final fun getMentionedChannels ()Ldev/kord/common/entity/optional/Optional; @@ -5849,8 +5937,12 @@ public final class dev/kord/core/entity/Activity$Secrets { public final class dev/kord/core/entity/Application : dev/kord/core/entity/BaseApplication { public fun (Ldev/kord/core/cache/data/ApplicationData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;)V public synthetic fun (Ldev/kord/core/cache/data/ApplicationData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getBot ()Ldev/kord/core/entity/User; public fun getData ()Ldev/kord/core/cache/data/ApplicationData; public synthetic fun getData ()Ldev/kord/core/cache/data/BaseApplicationData; + public synthetic fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; + public fun getGuild ()Ldev/kord/core/entity/PartialGuild; + public final fun getIntegrationTypesConfig ()Ljava/util/Map; public final fun getRequireCodeGrant ()Z public final fun getTeam ()Ldev/kord/core/entity/Team; public final fun getTeamId ()Ldev/kord/common/entity/Snowflake; @@ -5983,7 +6075,7 @@ public abstract class dev/kord/core/entity/BaseApplication : dev/kord/core/entit public abstract fun getData ()Ldev/kord/core/cache/data/BaseApplicationData; public final fun getDescription ()Ljava/lang/String; public final fun getFlags ()Ldev/kord/common/entity/ApplicationFlags; - public final fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; + public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; public final fun getGuildOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun getIcon ()Ldev/kord/core/entity/Asset; @@ -6572,7 +6664,6 @@ public final class dev/kord/core/entity/Integration : dev/kord/core/entity/KordE public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public final fun isEnabled ()Z - public final fun isSyncing ()Ljava/lang/Boolean; public final fun sync (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/Integration; @@ -6721,6 +6812,7 @@ public final class dev/kord/core/entity/Message : dev/kord/core/behavior/Message public final fun getGuildOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getId ()Ldev/kord/common/entity/Snowflake; public final fun getInteraction ()Ldev/kord/core/entity/Message$Interaction; + public final fun getInteractionMetadata ()Ldev/kord/core/entity/Message$InteractionMetadata; public fun getKord ()Ldev/kord/core/Kord; public final fun getMentionedChannelBehaviors ()Ljava/util/Set; public final fun getMentionedChannelIds ()Ljava/util/Set; @@ -6772,6 +6864,24 @@ public final class dev/kord/core/entity/Message$Interaction : dev/kord/core/enti public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/Strategizable; } +public final class dev/kord/core/entity/Message$InteractionMetadata : dev/kord/core/entity/KordEntity, dev/kord/core/entity/Strategizable { + public fun (Ldev/kord/core/cache/data/InteractionMetadataData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;)V + public synthetic fun (Ldev/kord/core/cache/data/InteractionMetadataData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun compareTo (Ldev/kord/core/entity/Entity;)I + public synthetic fun compareTo (Ljava/lang/Object;)I + public final fun getAuthorizingIntegrationOwners ()Ljava/util/Map; + public final fun getData ()Ldev/kord/core/cache/data/InteractionMetadataData; + public fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getInteractedMessageId ()Ldev/kord/common/entity/Snowflake; + public fun getKord ()Ldev/kord/core/Kord; + public final fun getOriginalResponseMessageId ()Ldev/kord/common/entity/Snowflake; + public fun getSupplier ()Ldev/kord/core/supplier/EntitySupplier; + public final fun getTriggeringInteractionMetadata ()Ldev/kord/common/entity/DiscordInteractionMetadata; + public final fun getType ()Ldev/kord/common/entity/InteractionType; + public final fun getUser ()Ldev/kord/core/entity/User; + public fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/Strategizable; +} + public final class dev/kord/core/entity/MessageReference : dev/kord/core/KordObject { public fun (Ldev/kord/core/cache/data/MessageReferenceData;Ldev/kord/core/Kord;)V public final fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; @@ -7513,6 +7623,26 @@ public final class dev/kord/core/entity/application/GlobalMessageCommand : dev/k public fun isNsfw ()Z } +public final class dev/kord/core/entity/application/GlobalPrimaryEntryPointCommand : dev/kord/core/behavior/GlobalEntryPointCommandBehavior, dev/kord/core/entity/application/GlobalApplicationCommand, dev/kord/core/entity/application/PrimaryEntryPointCommand { + public fun (Ldev/kord/core/cache/data/ApplicationCommandData;Ldev/kord/rest/service/InteractionService;)V + public fun compareTo (Ldev/kord/core/entity/Entity;)I + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun delete (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun edit (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getData ()Ldev/kord/core/cache/data/ApplicationCommandData; + public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; + public fun getDefaultPermission ()Ljava/lang/Boolean; + public fun getDmPermission ()Z + public fun getId ()Ldev/kord/common/entity/Snowflake; + public fun getName ()Ljava/lang/String; + public fun getNameLocalizations ()Ljava/util/Map; + public fun getService ()Ldev/kord/rest/service/InteractionService; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun getVersion ()Ldev/kord/common/entity/Snowflake; + public fun isNsfw ()Z +} + public final class dev/kord/core/entity/application/GlobalUserCommand : dev/kord/core/behavior/GlobalUserCommandBehavior, dev/kord/core/entity/application/GlobalApplicationCommand, dev/kord/core/entity/application/UserCommand { public fun (Ldev/kord/core/cache/data/ApplicationCommandData;Ldev/kord/rest/service/InteractionService;)V public fun compareTo (Ldev/kord/core/entity/Entity;)I @@ -7602,6 +7732,26 @@ public final class dev/kord/core/entity/application/GuildMessageCommand : dev/ko public fun isNsfw ()Z } +public final class dev/kord/core/entity/application/GuildPrimaryEntryPointCommand : dev/kord/core/behavior/GuildEntryPointCommandBehavior, dev/kord/core/entity/application/GuildApplicationCommand, dev/kord/core/entity/application/PrimaryEntryPointCommand { + public fun (Ldev/kord/core/cache/data/ApplicationCommandData;Ldev/kord/rest/service/InteractionService;)V + public fun compareTo (Ldev/kord/core/entity/Entity;)I + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun delete (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun edit (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getData ()Ldev/kord/core/cache/data/ApplicationCommandData; + public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; + public fun getDefaultPermission ()Ljava/lang/Boolean; + public fun getGuildId ()Ldev/kord/common/entity/Snowflake; + public fun getId ()Ldev/kord/common/entity/Snowflake; + public fun getName ()Ljava/lang/String; + public fun getNameLocalizations ()Ljava/util/Map; + public fun getService ()Ldev/kord/rest/service/InteractionService; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun getVersion ()Ldev/kord/common/entity/Snowflake; + public fun isNsfw ()Z +} + public final class dev/kord/core/entity/application/GuildUserCommand : dev/kord/core/behavior/GuildUserCommandBehavior, dev/kord/core/entity/application/GuildApplicationCommand, dev/kord/core/entity/application/UserCommand { public fun (Ldev/kord/core/cache/data/ApplicationCommandData;Ldev/kord/rest/service/InteractionService;)V public fun compareTo (Ldev/kord/core/entity/Entity;)I @@ -7638,6 +7788,22 @@ public final class dev/kord/core/entity/application/MessageCommand$DefaultImpls public static fun isNsfw (Ldev/kord/core/entity/application/MessageCommand;)Z } +public abstract interface class dev/kord/core/entity/application/PrimaryEntryPointCommand : dev/kord/core/behavior/EntryPointCommandBehavior, dev/kord/core/entity/application/ApplicationCommand { +} + +public final class dev/kord/core/entity/application/PrimaryEntryPointCommand$DefaultImpls { + public static fun compareTo (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;Ldev/kord/core/entity/Entity;)I + public static fun getApplicationId (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ldev/kord/common/entity/Snowflake; + public static fun getDefaultMemberPermissions (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ldev/kord/common/entity/Permissions; + public static fun getDefaultPermission (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ljava/lang/Boolean; + public static fun getId (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ldev/kord/common/entity/Snowflake; + public static fun getName (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ljava/lang/String; + public static fun getNameLocalizations (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ljava/util/Map; + public static fun getType (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ldev/kord/common/entity/ApplicationCommandType; + public static fun getVersion (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Ldev/kord/common/entity/Snowflake; + public static fun isNsfw (Ldev/kord/core/entity/application/PrimaryEntryPointCommand;)Z +} + public final class dev/kord/core/entity/application/UnknownGlobalApplicationCommand : dev/kord/core/entity/application/GlobalApplicationCommand { public fun (Ldev/kord/core/cache/data/ApplicationCommandData;Ldev/kord/rest/service/InteractionService;)V public fun compareTo (Ldev/kord/core/entity/Entity;)I @@ -9281,10 +9447,12 @@ public final class dev/kord/core/entity/interaction/ActionInteraction$DefaultImp public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/ActionInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/ActionInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/ActionInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/ActionInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/ActionInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/ActionInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/ActionInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/ActionInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/ActionInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/ActionInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/ActionInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/ActionInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9294,6 +9462,7 @@ public final class dev/kord/core/entity/interaction/ActionInteraction$DefaultImp public static fun getToken (Ldev/kord/core/entity/interaction/ActionInteraction;)Ljava/lang/String; public static fun getType (Ldev/kord/core/entity/interaction/ActionInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getVersion (Ldev/kord/core/entity/interaction/ActionInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/ActionInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public abstract interface class dev/kord/core/entity/interaction/ApplicationCommandInteraction : dev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior, dev/kord/core/entity/interaction/ActionInteraction { @@ -9312,10 +9481,12 @@ public final class dev/kord/core/entity/interaction/ApplicationCommandInteractio public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9330,6 +9501,7 @@ public final class dev/kord/core/entity/interaction/ApplicationCommandInteractio public static fun getToken (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ljava/lang/String; public static fun getType (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getVersion (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/ApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/kord/core/entity/interaction/ApplicationCommandInteractionKt { @@ -9358,11 +9530,13 @@ public abstract interface class dev/kord/core/entity/interaction/AutoCompleteInt public final class dev/kord/core/entity/interaction/AutoCompleteInteraction$DefaultImpls { public static fun compareTo (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;Ldev/kord/core/entity/Entity;)I public static fun getApplicationId (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getCommand (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ldev/kord/core/entity/interaction/InteractionCommand; + public static fun getContext (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ljava/util/List; public static fun getFocusedOption (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ldev/kord/core/entity/interaction/StringOptionValue; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/AutoCompleteInteraction;)Ldev/kord/common/Locale; @@ -9395,6 +9569,7 @@ public final class dev/kord/core/entity/interaction/ButtonInteraction$DefaultImp public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/ButtonInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/ButtonInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/ButtonInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9402,6 +9577,7 @@ public final class dev/kord/core/entity/interaction/ButtonInteraction$DefaultImp public static fun getComponent (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/core/entity/component/ButtonComponent; public static fun getComponentId (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ljava/lang/String; public static fun getComponentType (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/common/entity/ComponentType; + public static fun getContext (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9412,6 +9588,7 @@ public final class dev/kord/core/entity/interaction/ButtonInteraction$DefaultImp public static fun getToken (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ljava/lang/String; public static fun getType (Ldev/kord/core/entity/interaction/ButtonInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getVersion (Ldev/kord/core/entity/interaction/ButtonInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/ButtonInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/kord/core/entity/interaction/ChannelOptionValue : dev/kord/core/entity/interaction/ResolvableOptionValue { @@ -9436,11 +9613,13 @@ public final class dev/kord/core/entity/interaction/ChatInputCommandInteraction$ public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getCommand (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/core/entity/interaction/InteractionCommand; + public static fun getContext (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9455,6 +9634,7 @@ public final class dev/kord/core/entity/interaction/ChatInputCommandInteraction$ public static fun getToken (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ljava/lang/String; public static fun getType (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getVersion (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/ChatInputCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public abstract interface class dev/kord/core/entity/interaction/ComponentInteraction : dev/kord/core/behavior/interaction/ComponentInteractionBehavior, dev/kord/core/behavior/interaction/ModalParentInteractionBehavior, dev/kord/core/entity/interaction/ActionInteraction { @@ -9474,12 +9654,14 @@ public final class dev/kord/core/entity/interaction/ComponentInteraction$Default public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/ComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/ComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/ComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/ComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getComponentId (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ljava/lang/String; public static fun getComponentType (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/common/entity/ComponentType; + public static fun getContext (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9490,6 +9672,7 @@ public final class dev/kord/core/entity/interaction/ComponentInteraction$Default public static fun getToken (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ljava/lang/String; public static fun getType (Ldev/kord/core/entity/interaction/ComponentInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getVersion (Ldev/kord/core/entity/interaction/ComponentInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/ComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/kord/core/entity/interaction/ComponentInteractionKt { @@ -9504,10 +9687,12 @@ public abstract interface class dev/kord/core/entity/interaction/DataInteraction public final class dev/kord/core/entity/interaction/DataInteraction$DefaultImpls { public static fun compareTo (Ldev/kord/core/entity/interaction/DataInteraction;Ldev/kord/core/entity/Entity;)I public static fun getApplicationId (Ldev/kord/core/entity/interaction/DataInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/DataInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/DataInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/DataInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/DataInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/DataInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/DataInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/DataInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/DataInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/DataInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9528,10 +9713,12 @@ public final class dev/kord/core/entity/interaction/GlobalApplicationCommandInte public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9547,6 +9734,7 @@ public final class dev/kord/core/entity/interaction/GlobalApplicationCommandInte public static fun getType (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getUser (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)Ldev/kord/core/entity/User; public static fun getVersion (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun withStrategy (Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction;Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction; } @@ -9557,11 +9745,13 @@ public final class dev/kord/core/entity/interaction/GlobalAutoCompleteInteractio public synthetic fun compareTo (Ljava/lang/Object;)I public fun equals (Ljava/lang/Object;)Z public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getCommand ()Ldev/kord/core/entity/interaction/InteractionCommand; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getFocusedOption ()Ldev/kord/core/entity/interaction/StringOptionValue; @@ -9600,6 +9790,7 @@ public final class dev/kord/core/entity/interaction/GlobalButtonInteraction : de public fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun equals (Ljava/lang/Object;)Z public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; @@ -9608,6 +9799,7 @@ public final class dev/kord/core/entity/interaction/GlobalButtonInteraction : de public synthetic fun getComponent ()Ldev/kord/core/entity/component/Component; public fun getComponentId ()Ljava/lang/String; public fun getComponentType ()Ldev/kord/common/entity/ComponentType; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuildLocale ()Ldev/kord/common/Locale; @@ -9623,6 +9815,7 @@ public final class dev/kord/core/entity/interaction/GlobalButtonInteraction : de public fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior; @@ -9649,11 +9842,13 @@ public final class dev/kord/core/entity/interaction/GlobalChatInputCommandIntera public fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun equals (Ljava/lang/Object;)Z public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getCommand ()Ldev/kord/core/entity/interaction/InteractionCommand; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuildLocale ()Ldev/kord/common/Locale; @@ -9673,6 +9868,7 @@ public final class dev/kord/core/entity/interaction/GlobalChatInputCommandIntera public fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; @@ -9702,12 +9898,14 @@ public final class dev/kord/core/entity/interaction/GlobalComponentInteraction$D public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getComponentId (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ljava/lang/String; public static fun getComponentType (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/common/entity/ComponentType; + public static fun getContext (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9719,6 +9917,7 @@ public final class dev/kord/core/entity/interaction/GlobalComponentInteraction$D public static fun getType (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getUser (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)Ldev/kord/core/entity/User; public static fun getVersion (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/GlobalComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public abstract interface class dev/kord/core/entity/interaction/GlobalInteraction : dev/kord/core/behavior/interaction/GlobalInteractionBehavior, dev/kord/core/entity/interaction/Interaction { @@ -9729,10 +9928,12 @@ public abstract interface class dev/kord/core/entity/interaction/GlobalInteracti public final class dev/kord/core/entity/interaction/GlobalInteraction$DefaultImpls { public static fun compareTo (Ldev/kord/core/entity/interaction/GlobalInteraction;Ldev/kord/core/entity/Entity;)I public static fun getApplicationId (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/GlobalInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/GlobalInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/GlobalInteraction;)Ldev/kord/common/entity/Snowflake; @@ -9753,10 +9954,12 @@ public final class dev/kord/core/entity/interaction/GlobalMessageCommandInteract public fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun equals (Ljava/lang/Object;)Z public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuildLocale ()Ldev/kord/common/Locale; @@ -9781,6 +9984,7 @@ public final class dev/kord/core/entity/interaction/GlobalMessageCommandInteract public fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; @@ -9811,10 +10015,12 @@ public final class dev/kord/core/entity/interaction/GlobalModalSubmitInteraction public fun equals (Ljava/lang/Object;)Z public fun getActionRows ()Ljava/util/List; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuildLocale ()Ldev/kord/common/Locale; @@ -9832,6 +10038,7 @@ public final class dev/kord/core/entity/interaction/GlobalModalSubmitInteraction public fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior; @@ -9845,6 +10052,58 @@ public final class dev/kord/core/entity/interaction/GlobalModalSubmitInteraction public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/ModalSubmitInteraction; } +public final class dev/kord/core/entity/interaction/GlobalPrimaryEntryPointCommandInteraction : dev/kord/core/entity/interaction/GlobalApplicationCommandInteraction, dev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction { + public fun (Ldev/kord/core/cache/data/InteractionData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;)V + public fun compareTo (Ldev/kord/core/entity/Entity;)I + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun deferEphemeralResponse (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun deferEphemeralResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun deferPublicResponse (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun equals (Ljava/lang/Object;)Z + public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; + public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; + public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getChannelId ()Ldev/kord/common/entity/Snowflake; + public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; + public fun getData ()Ldev/kord/core/cache/data/InteractionData; + public fun getEntitlements ()Ljava/util/List; + public fun getGuildLocale ()Ldev/kord/common/Locale; + public fun getId ()Ldev/kord/common/entity/Snowflake; + public fun getInvokedCommandGuildId ()Ldev/kord/common/entity/Snowflake; + public fun getInvokedCommandId ()Ldev/kord/common/entity/Snowflake; + public fun getInvokedCommandName ()Ljava/lang/String; + public fun getInvokedCommandType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun getKord ()Ldev/kord/core/Kord; + public fun getLocale ()Ldev/kord/common/Locale; + public fun getOriginalInteractionResponse (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getOriginalInteractionResponseOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getResolvedObjects ()Ldev/kord/core/entity/interaction/ResolvedObjects; + public fun getSupplier ()Ldev/kord/core/supplier/EntitySupplier; + public fun getToken ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/InteractionType; + public fun getUser ()Ldev/kord/core/entity/User; + public fun getVersion ()I + public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun toString ()Ljava/lang/String; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/GlobalInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/InteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ModalParentInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/Strategizable; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/ActionInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/ApplicationCommandInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GlobalInteraction; + public fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GlobalPrimaryEntryPointCommandInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/Interaction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction; +} + public final class dev/kord/core/entity/interaction/GlobalSelectMenuInteraction : dev/kord/core/entity/interaction/GlobalComponentInteraction, dev/kord/core/entity/interaction/SelectMenuInteraction { public fun (Ldev/kord/core/cache/data/InteractionData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;)V public fun compareTo (Ldev/kord/core/entity/Entity;)I @@ -9857,6 +10116,7 @@ public final class dev/kord/core/entity/interaction/GlobalSelectMenuInteraction public fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun equals (Ljava/lang/Object;)Z public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; @@ -9865,6 +10125,7 @@ public final class dev/kord/core/entity/interaction/GlobalSelectMenuInteraction public fun getComponent ()Ldev/kord/core/entity/component/SelectMenuComponent; public fun getComponentId ()Ljava/lang/String; public fun getComponentType ()Ldev/kord/common/entity/ComponentType; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuildLocale ()Ldev/kord/common/Locale; @@ -9882,6 +10143,7 @@ public final class dev/kord/core/entity/interaction/GlobalSelectMenuInteraction public fun getValues ()Ljava/util/List; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior; @@ -9908,10 +10170,12 @@ public final class dev/kord/core/entity/interaction/GlobalUserCommandInteraction public fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun equals (Ljava/lang/Object;)Z public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuildLocale ()Ldev/kord/common/Locale; @@ -9936,6 +10200,7 @@ public final class dev/kord/core/entity/interaction/GlobalUserCommandInteraction public fun getUsers ()Ljava/util/Map; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; @@ -9986,10 +10251,12 @@ public final class dev/kord/core/entity/interaction/GuildApplicationCommandInter public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getAppPermissions (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/common/entity/Permissions; public static fun getApplicationId (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ljava/util/List; public static fun getGuild (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/core/behavior/GuildBehavior; public static fun getGuild (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -10010,6 +10277,7 @@ public final class dev/kord/core/entity/interaction/GuildApplicationCommandInter public static fun getType (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getUser (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)Ldev/kord/core/entity/Member; public static fun getVersion (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun withStrategy (Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction;Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction; } @@ -10021,12 +10289,14 @@ public final class dev/kord/core/entity/interaction/GuildAutoCompleteInteraction public fun equals (Ljava/lang/Object;)Z public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getCommand ()Ldev/kord/core/entity/interaction/InteractionCommand; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getFocusedOption ()Ldev/kord/core/entity/interaction/StringOptionValue; @@ -10072,6 +10342,7 @@ public final class dev/kord/core/entity/interaction/GuildButtonInteraction : dev public fun equals (Ljava/lang/Object;)Z public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -10081,6 +10352,7 @@ public final class dev/kord/core/entity/interaction/GuildButtonInteraction : dev public synthetic fun getComponent ()Ldev/kord/core/entity/component/Component; public fun getComponentId ()Ljava/lang/String; public fun getComponentType ()Ldev/kord/common/entity/ComponentType; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; @@ -10102,6 +10374,7 @@ public final class dev/kord/core/entity/interaction/GuildButtonInteraction : dev public synthetic fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior; @@ -10129,12 +10402,14 @@ public final class dev/kord/core/entity/interaction/GuildChatInputCommandInterac public fun equals (Ljava/lang/Object;)Z public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getCommand ()Ldev/kord/core/entity/interaction/InteractionCommand; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; @@ -10160,6 +10435,7 @@ public final class dev/kord/core/entity/interaction/GuildChatInputCommandInterac public synthetic fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; @@ -10190,12 +10466,14 @@ public final class dev/kord/core/entity/interaction/GuildComponentInteraction$De public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/GuildComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getAppPermissions (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/common/entity/Permissions; public static fun getApplicationId (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/GuildComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/GuildComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getComponentId (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ljava/lang/String; public static fun getComponentType (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/common/entity/ComponentType; + public static fun getContext (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ljava/util/List; public static fun getGuild (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/core/behavior/GuildBehavior; public static fun getGuild (Ldev/kord/core/entity/interaction/GuildComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -10212,6 +10490,7 @@ public final class dev/kord/core/entity/interaction/GuildComponentInteraction$De public static fun getType (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getUser (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)Ldev/kord/core/entity/Member; public static fun getVersion (Ldev/kord/core/entity/interaction/GuildComponentInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/GuildComponentInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public abstract interface class dev/kord/core/entity/interaction/GuildInteraction : dev/kord/core/behavior/interaction/GuildInteractionBehavior, dev/kord/core/entity/interaction/Interaction { @@ -10226,10 +10505,12 @@ public final class dev/kord/core/entity/interaction/GuildInteraction$DefaultImpl public static fun compareTo (Ldev/kord/core/entity/interaction/GuildInteraction;Ldev/kord/core/entity/Entity;)I public static fun getAppPermissions (Ldev/kord/core/entity/interaction/GuildInteraction;)Ldev/kord/common/entity/Permissions; public static fun getApplicationId (Ldev/kord/core/entity/interaction/GuildInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/GuildInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/GuildInteraction;)Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/GuildInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/GuildInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/GuildInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/GuildInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/GuildInteraction;)Ljava/util/List; public static fun getGuild (Ldev/kord/core/entity/interaction/GuildInteraction;)Ldev/kord/core/behavior/GuildBehavior; public static fun getGuild (Ldev/kord/core/entity/interaction/GuildInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -10256,11 +10537,13 @@ public final class dev/kord/core/entity/interaction/GuildMessageCommandInteracti public fun equals (Ljava/lang/Object;)Z public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; @@ -10291,6 +10574,7 @@ public final class dev/kord/core/entity/interaction/GuildMessageCommandInteracti public synthetic fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; @@ -10322,11 +10606,13 @@ public final class dev/kord/core/entity/interaction/GuildModalSubmitInteraction public fun getActionRows ()Ljava/util/List; public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; @@ -10350,6 +10636,7 @@ public final class dev/kord/core/entity/interaction/GuildModalSubmitInteraction public synthetic fun getUser ()Ldev/kord/core/entity/User; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior; @@ -10363,6 +10650,66 @@ public final class dev/kord/core/entity/interaction/GuildModalSubmitInteraction public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/ModalSubmitInteraction; } +public final class dev/kord/core/entity/interaction/GuildPrimaryEntryPointCommandInteraction : dev/kord/core/entity/interaction/GuildApplicationCommandInteraction, dev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction { + public fun (Ldev/kord/core/cache/data/InteractionData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;)V + public fun compareTo (Ldev/kord/core/entity/Entity;)I + public synthetic fun compareTo (Ljava/lang/Object;)I + public fun deferEphemeralResponse (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun deferEphemeralResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun deferPublicResponse (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun deferPublicResponseUnsafe (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun equals (Ljava/lang/Object;)Z + public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; + public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; + public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; + public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; + public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getChannelId ()Ldev/kord/common/entity/Snowflake; + public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; + public fun getData ()Ldev/kord/core/cache/data/InteractionData; + public fun getEntitlements ()Ljava/util/List; + public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; + public fun getGuild (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getGuildId ()Ldev/kord/common/entity/Snowflake; + public fun getGuildLocale ()Ldev/kord/common/Locale; + public fun getGuildOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getId ()Ldev/kord/common/entity/Snowflake; + public fun getInvokedCommandGuildId ()Ldev/kord/common/entity/Snowflake; + public fun getInvokedCommandId ()Ldev/kord/common/entity/Snowflake; + public fun getInvokedCommandName ()Ljava/lang/String; + public fun getInvokedCommandType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun getKord ()Ldev/kord/core/Kord; + public fun getLocale ()Ldev/kord/common/Locale; + public fun getOriginalInteractionResponse (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getOriginalInteractionResponseOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getPermissions ()Ldev/kord/common/entity/Permissions; + public fun getResolvedObjects ()Ldev/kord/core/entity/interaction/ResolvedObjects; + public fun getSupplier ()Ldev/kord/core/supplier/EntitySupplier; + public fun getToken ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/InteractionType; + public fun getUser ()Ldev/kord/core/entity/Member; + public synthetic fun getUser ()Ldev/kord/core/entity/User; + public fun getVersion ()I + public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun toString ()Ljava/lang/String; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/GuildInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/InteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ModalParentInteractionBehavior; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/Strategizable; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/ActionInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/ApplicationCommandInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GuildInteraction; + public fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/GuildPrimaryEntryPointCommandInteraction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/Interaction; + public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction; +} + public final class dev/kord/core/entity/interaction/GuildSelectMenuInteraction : dev/kord/core/entity/interaction/GuildComponentInteraction, dev/kord/core/entity/interaction/SelectMenuInteraction { public fun (Ldev/kord/core/cache/data/InteractionData;Ldev/kord/core/Kord;Ldev/kord/core/supplier/EntitySupplier;)V public fun compareTo (Ldev/kord/core/entity/Entity;)I @@ -10376,6 +10723,7 @@ public final class dev/kord/core/entity/interaction/GuildSelectMenuInteraction : public fun equals (Ljava/lang/Object;)Z public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -10385,6 +10733,7 @@ public final class dev/kord/core/entity/interaction/GuildSelectMenuInteraction : public fun getComponent ()Ldev/kord/core/entity/component/SelectMenuComponent; public fun getComponentId ()Ljava/lang/String; public fun getComponentType ()Ldev/kord/common/entity/ComponentType; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; @@ -10408,6 +10757,7 @@ public final class dev/kord/core/entity/interaction/GuildSelectMenuInteraction : public fun getValues ()Ljava/util/List; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ComponentInteractionBehavior; @@ -10435,11 +10785,13 @@ public final class dev/kord/core/entity/interaction/GuildUserCommandInteraction public fun equals (Ljava/lang/Object;)Z public fun getAppPermissions ()Ldev/kord/common/entity/Permissions; public fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public fun getChannel ()Ldev/kord/core/behavior/channel/GuildMessageChannelBehavior; public synthetic fun getChannel ()Ldev/kord/core/behavior/channel/MessageChannelBehavior; public fun getChannel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getChannelOrNull (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun getContext ()Ldev/kord/common/entity/InteractionContextType; public fun getData ()Ldev/kord/core/cache/data/InteractionData; public fun getEntitlements ()Ljava/util/List; public fun getGuild ()Ldev/kord/core/behavior/GuildBehavior; @@ -10470,6 +10822,7 @@ public final class dev/kord/core/entity/interaction/GuildUserCommandInteraction public fun getUsers ()Ljava/util/Map; public fun getVersion ()I public fun hashCode ()I + public fun openActivity (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ActionInteractionBehavior; public synthetic fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/behavior/interaction/ApplicationCommandInteractionBehavior; @@ -10497,7 +10850,9 @@ public final class dev/kord/core/entity/interaction/IntegerOptionValue : dev/kor public abstract interface class dev/kord/core/entity/interaction/Interaction : dev/kord/core/behavior/interaction/InteractionBehavior { public static final field Companion Ldev/kord/core/entity/interaction/Interaction$Companion; public abstract fun getApplicationId ()Ldev/kord/common/entity/Snowflake; + public abstract fun getAuthorizingIntegrationOwners ()Ljava/util/Map; public abstract fun getChannelId ()Ldev/kord/common/entity/Snowflake; + public abstract fun getContext ()Ldev/kord/common/entity/InteractionContextType; public abstract fun getData ()Ldev/kord/core/cache/data/InteractionData; public abstract fun getEntitlements ()Ljava/util/List; public abstract fun getGuildLocale ()Ldev/kord/common/Locale; @@ -10518,10 +10873,12 @@ public final class dev/kord/core/entity/interaction/Interaction$Companion { public final class dev/kord/core/entity/interaction/Interaction$DefaultImpls { public static fun compareTo (Ldev/kord/core/entity/interaction/Interaction;Ldev/kord/core/entity/Entity;)I public static fun getApplicationId (Ldev/kord/core/entity/interaction/Interaction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/Interaction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/Interaction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/Interaction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/Interaction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/Interaction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/Interaction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/Interaction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/Interaction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/Interaction;)Ldev/kord/common/entity/Snowflake; @@ -10602,10 +10959,12 @@ public final class dev/kord/core/entity/interaction/MessageCommandInteraction$De public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/MessageCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/MessageCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/MessageCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/MessageCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ldev/kord/common/entity/Snowflake; @@ -10625,6 +10984,7 @@ public final class dev/kord/core/entity/interaction/MessageCommandInteraction$De public static fun getToken (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ljava/lang/String; public static fun getType (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getVersion (Ldev/kord/core/entity/interaction/MessageCommandInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/MessageCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public abstract interface class dev/kord/core/entity/interaction/ModalSubmitInteraction : dev/kord/core/behavior/interaction/ComponentInteractionBehavior, dev/kord/core/entity/interaction/ActionInteraction { @@ -10645,10 +11005,12 @@ public final class dev/kord/core/entity/interaction/ModalSubmitInteraction$Defau public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getActionRows (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ljava/util/List; public static fun getApplicationId (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ldev/kord/common/entity/Snowflake; @@ -10661,6 +11023,7 @@ public final class dev/kord/core/entity/interaction/ModalSubmitInteraction$Defau public static fun getToken (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ljava/lang/String; public static fun getType (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getVersion (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/ModalSubmitInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/kord/core/entity/interaction/ModalSubmitInteractionKt { @@ -10685,6 +11048,40 @@ public final class dev/kord/core/entity/interaction/OptionValueKt { public static final fun OptionValue (Ldev/kord/common/entity/CommandArgument;Ldev/kord/core/entity/interaction/ResolvedObjects;)Ldev/kord/core/entity/interaction/OptionValue; } +public abstract interface class dev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction : dev/kord/core/entity/interaction/ApplicationCommandInteraction { + public abstract fun withStrategy (Ldev/kord/core/supplier/EntitySupplyStrategy;)Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction; +} + +public final class dev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction$DefaultImpls { + public static fun compareTo (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Ldev/kord/core/entity/Entity;)I + public static fun deferEphemeralResponse (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun deferEphemeralResponseUnsafe (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getApplicationId (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ljava/util/Map; + public static fun getChannel (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; + public static fun getChannel (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getChannelId (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/InteractionContextType; + public static fun getEntitlements (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ljava/util/List; + public static fun getGuildLocale (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/Locale; + public static fun getId (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getInvokedCommandGuildId (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getInvokedCommandId (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getInvokedCommandName (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ljava/lang/String; + public static fun getInvokedCommandType (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/ApplicationCommandType; + public static fun getLocale (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/Locale; + public static fun getOriginalInteractionResponse (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getOriginalInteractionResponseOrNull (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getResolvedObjects (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/core/entity/interaction/ResolvedObjects; + public static fun getToken (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ljava/lang/String; + public static fun getType (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)Ldev/kord/common/entity/InteractionType; + public static fun getVersion (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; +} + public abstract interface class dev/kord/core/entity/interaction/ResolvableOptionValue : dev/kord/core/entity/interaction/OptionValue { public abstract fun getResolvedObject ()Ldev/kord/core/entity/Entity; } @@ -10749,6 +11146,7 @@ public final class dev/kord/core/entity/interaction/SelectMenuInteraction$Defaul public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/SelectMenuInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/SelectMenuInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/SelectMenuInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/common/entity/Snowflake; @@ -10756,6 +11154,7 @@ public final class dev/kord/core/entity/interaction/SelectMenuInteraction$Defaul public static fun getComponent (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/core/entity/component/SelectMenuComponent; public static fun getComponentId (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ljava/lang/String; public static fun getComponentType (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/common/entity/ComponentType; + public static fun getContext (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/common/entity/Snowflake; @@ -10768,6 +11167,7 @@ public final class dev/kord/core/entity/interaction/SelectMenuInteraction$Defaul public static fun getType (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getValues (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)Ljava/util/List; public static fun getVersion (Ldev/kord/core/entity/interaction/SelectMenuInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/SelectMenuInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public final class dev/kord/core/entity/interaction/StringOptionValue : dev/kord/core/entity/interaction/OptionValue { @@ -10815,10 +11215,12 @@ public final class dev/kord/core/entity/interaction/UserCommandInteraction$Defau public static fun deferPublicResponse (Ldev/kord/core/entity/interaction/UserCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun deferPublicResponseUnsafe (Ldev/kord/core/entity/interaction/UserCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getApplicationId (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ldev/kord/common/entity/Snowflake; + public static fun getAuthorizingIntegrationOwners (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ljava/util/Map; public static fun getChannel (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ldev/kord/core/behavior/channel/MessageChannelBehavior; public static fun getChannel (Ldev/kord/core/entity/interaction/UserCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static fun getChannelId (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ldev/kord/common/entity/Snowflake; public static fun getChannelOrNull (Ldev/kord/core/entity/interaction/UserCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static fun getContext (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ldev/kord/common/entity/InteractionContextType; public static fun getEntitlements (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ljava/util/List; public static fun getGuildLocale (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ldev/kord/common/Locale; public static fun getId (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ldev/kord/common/entity/Snowflake; @@ -10838,6 +11240,7 @@ public final class dev/kord/core/entity/interaction/UserCommandInteraction$Defau public static fun getType (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ldev/kord/common/entity/InteractionType; public static fun getUsers (Ldev/kord/core/entity/interaction/UserCommandInteraction;)Ljava/util/Map; public static fun getVersion (Ldev/kord/core/entity/interaction/UserCommandInteraction;)I + public static fun openActivity (Ldev/kord/core/entity/interaction/UserCommandInteraction;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } public class dev/kord/core/entity/interaction/UserOptionValue : dev/kord/core/entity/interaction/ResolvableOptionValue { @@ -12734,6 +13137,20 @@ public final class dev/kord/core/event/interaction/GlobalModalSubmitInteractionC public fun getShard ()I } +public final class dev/kord/core/event/interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent : dev/kord/core/event/interaction/GlobalApplicationCommandInteractionCreateEvent, dev/kord/core/event/interaction/PrimaryEntryPointCommandInteractionCreateEvent { + public fun (Ldev/kord/core/entity/interaction/GlobalPrimaryEntryPointCommandInteraction;Ldev/kord/core/Kord;ILjava/lang/Object;)V + public fun getCustomContext ()Ljava/lang/Object; + public fun getGateway ()Ldev/kord/gateway/Gateway; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/ActionInteraction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/ApplicationCommandInteraction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/GlobalApplicationCommandInteraction; + public fun getInteraction ()Ldev/kord/core/entity/interaction/GlobalPrimaryEntryPointCommandInteraction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/Interaction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction; + public fun getKord ()Ldev/kord/core/Kord; + public fun getShard ()I +} + public final class dev/kord/core/event/interaction/GlobalSelectMenuInteractionCreateEvent : dev/kord/core/event/interaction/GlobalComponentInteractionCreateEvent, dev/kord/core/event/interaction/SelectMenuInteractionCreateEvent { public fun (Ldev/kord/core/entity/interaction/GlobalSelectMenuInteraction;Ldev/kord/core/Kord;ILjava/lang/Object;)V public fun getCustomContext ()Ljava/lang/Object; @@ -12844,6 +13261,20 @@ public final class dev/kord/core/event/interaction/GuildModalSubmitInteractionCr public fun getShard ()I } +public final class dev/kord/core/event/interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent : dev/kord/core/event/interaction/GuildApplicationCommandInteractionCreateEvent, dev/kord/core/event/interaction/PrimaryEntryPointCommandInteractionCreateEvent { + public fun (Ldev/kord/core/entity/interaction/GuildPrimaryEntryPointCommandInteraction;Ldev/kord/core/Kord;ILjava/lang/Object;)V + public fun getCustomContext ()Ljava/lang/Object; + public fun getGateway ()Ldev/kord/gateway/Gateway; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/ActionInteraction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/ApplicationCommandInteraction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/GuildApplicationCommandInteraction; + public fun getInteraction ()Ldev/kord/core/entity/interaction/GuildPrimaryEntryPointCommandInteraction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/Interaction; + public synthetic fun getInteraction ()Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction; + public fun getKord ()Ldev/kord/core/Kord; + public fun getShard ()I +} + public final class dev/kord/core/event/interaction/GuildSelectMenuInteractionCreateEvent : dev/kord/core/event/interaction/GuildComponentInteractionCreateEvent, dev/kord/core/event/interaction/SelectMenuInteractionCreateEvent { public fun (Ldev/kord/core/entity/interaction/GuildSelectMenuInteraction;Ldev/kord/core/Kord;ILjava/lang/Object;)V public fun getCustomContext ()Ljava/lang/Object; @@ -12926,6 +13357,14 @@ public final class dev/kord/core/event/interaction/ModalSubmitInteractionCreateE public static fun getGateway (Ldev/kord/core/event/interaction/ModalSubmitInteractionCreateEvent;)Ldev/kord/gateway/Gateway; } +public abstract interface class dev/kord/core/event/interaction/PrimaryEntryPointCommandInteractionCreateEvent : dev/kord/core/event/interaction/ApplicationCommandInteractionCreateEvent { + public abstract fun getInteraction ()Ldev/kord/core/entity/interaction/PrimaryEntryPointCommandInteraction; +} + +public final class dev/kord/core/event/interaction/PrimaryEntryPointCommandInteractionCreateEvent$DefaultImpls { + public static fun getGateway (Ldev/kord/core/event/interaction/PrimaryEntryPointCommandInteractionCreateEvent;)Ldev/kord/gateway/Gateway; +} + public abstract interface class dev/kord/core/event/interaction/SelectMenuInteractionCreateEvent : dev/kord/core/event/interaction/ComponentInteractionCreateEvent { public abstract fun getInteraction ()Ldev/kord/core/entity/interaction/SelectMenuInteraction; } diff --git a/core/api/core.klib.api b/core/api/core.klib.api index 23bc8491c80..8f78b907734 100644 --- a/core/api/core.klib.api +++ b/core/api/core.klib.api @@ -357,6 +357,7 @@ abstract interface dev.kord.core.behavior.interaction/ActionInteractionBehavior open suspend fun deferPublicResponseUnsafe(): dev.kord.core.behavior.interaction.response/PublicMessageInteractionResponseBehavior // dev.kord.core.behavior.interaction/ActionInteractionBehavior.deferPublicResponseUnsafe|deferPublicResponseUnsafe(){}[0] open suspend fun getOriginalInteractionResponse(): dev.kord.core.entity/Message // dev.kord.core.behavior.interaction/ActionInteractionBehavior.getOriginalInteractionResponse|getOriginalInteractionResponse(){}[0] open suspend fun getOriginalInteractionResponseOrNull(): dev.kord.core.entity/Message? // dev.kord.core.behavior.interaction/ActionInteractionBehavior.getOriginalInteractionResponseOrNull|getOriginalInteractionResponseOrNull(){}[0] + open suspend fun openActivity() // dev.kord.core.behavior.interaction/ActionInteractionBehavior.openActivity|openActivity(){}[0] } abstract interface dev.kord.core.behavior.interaction/ApplicationCommandInteractionBehavior : dev.kord.core.behavior.interaction/ModalParentInteractionBehavior { // dev.kord.core.behavior.interaction/ApplicationCommandInteractionBehavior|null[0] @@ -440,6 +441,10 @@ abstract interface dev.kord.core.behavior/ChatInputCommandBehavior : dev.kord.co abstract suspend fun edit(kotlin.coroutines/SuspendFunction1): dev.kord.core.entity.application/ChatInputCommandCommand // dev.kord.core.behavior/ChatInputCommandBehavior.edit|edit(kotlin.coroutines.SuspendFunction1){}[0] } +abstract interface dev.kord.core.behavior/EntryPointCommandBehavior : dev.kord.core.behavior/ApplicationCommandBehavior { // dev.kord.core.behavior/EntryPointCommandBehavior|null[0] + abstract suspend fun edit(kotlin.coroutines/SuspendFunction1): dev.kord.core.entity.application/PrimaryEntryPointCommand // dev.kord.core.behavior/EntryPointCommandBehavior.edit|edit(kotlin.coroutines.SuspendFunction1){}[0] +} + abstract interface dev.kord.core.behavior/GlobalApplicationCommandBehavior : dev.kord.core.behavior/ApplicationCommandBehavior { // dev.kord.core.behavior/GlobalApplicationCommandBehavior|null[0] open suspend fun delete() // dev.kord.core.behavior/GlobalApplicationCommandBehavior.delete|delete(){}[0] } @@ -448,6 +453,10 @@ abstract interface dev.kord.core.behavior/GlobalChatInputCommandBehavior : dev.k open suspend fun edit(kotlin.coroutines/SuspendFunction1): dev.kord.core.entity.application/GlobalChatInputCommand // dev.kord.core.behavior/GlobalChatInputCommandBehavior.edit|edit(kotlin.coroutines.SuspendFunction1){}[0] } +abstract interface dev.kord.core.behavior/GlobalEntryPointCommandBehavior : dev.kord.core.behavior/EntryPointCommandBehavior, dev.kord.core.behavior/GlobalApplicationCommandBehavior { // dev.kord.core.behavior/GlobalEntryPointCommandBehavior|null[0] + open suspend fun edit(kotlin.coroutines/SuspendFunction1): dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand // dev.kord.core.behavior/GlobalEntryPointCommandBehavior.edit|edit(kotlin.coroutines.SuspendFunction1){}[0] +} + abstract interface dev.kord.core.behavior/GlobalMessageCommandBehavior : dev.kord.core.behavior/GlobalApplicationCommandBehavior, dev.kord.core.behavior/MessageCommandBehavior { // dev.kord.core.behavior/GlobalMessageCommandBehavior|null[0] open suspend fun edit(kotlin.coroutines/SuspendFunction1): dev.kord.core.entity.application/GlobalMessageCommand // dev.kord.core.behavior/GlobalMessageCommandBehavior.edit|edit(kotlin.coroutines.SuspendFunction1){}[0] } @@ -564,6 +573,10 @@ abstract interface dev.kord.core.behavior/GuildEmojiBehavior : dev.kord.core.ent open suspend fun delete(kotlin/String? = ...) // dev.kord.core.behavior/GuildEmojiBehavior.delete|delete(kotlin.String?){}[0] } +abstract interface dev.kord.core.behavior/GuildEntryPointCommandBehavior : dev.kord.core.behavior/EntryPointCommandBehavior, dev.kord.core.behavior/GuildApplicationCommandBehavior { // dev.kord.core.behavior/GuildEntryPointCommandBehavior|null[0] + open suspend fun edit(kotlin.coroutines/SuspendFunction1): dev.kord.core.entity.application/GuildPrimaryEntryPointCommand // dev.kord.core.behavior/GuildEntryPointCommandBehavior.edit|edit(kotlin.coroutines.SuspendFunction1){}[0] +} + abstract interface dev.kord.core.behavior/GuildMessageCommandBehavior : dev.kord.core.behavior/GuildApplicationCommandBehavior, dev.kord.core.behavior/MessageCommandBehavior { // dev.kord.core.behavior/GuildMessageCommandBehavior|null[0] open suspend fun edit(kotlin.coroutines/SuspendFunction1): dev.kord.core.entity.application/GuildMessageCommand // dev.kord.core.behavior/GuildMessageCommandBehavior.edit|edit(kotlin.coroutines.SuspendFunction1){}[0] } @@ -739,6 +752,8 @@ abstract interface dev.kord.core.entity.application/GlobalApplicationCommand : d open fun (): kotlin/Boolean // dev.kord.core.entity.application/GlobalApplicationCommand.dmPermission.|(){}[0] } +abstract interface dev.kord.core.entity.application/PrimaryEntryPointCommand : dev.kord.core.behavior/EntryPointCommandBehavior, dev.kord.core.entity.application/ApplicationCommand // dev.kord.core.entity.application/PrimaryEntryPointCommand|null[0] + abstract interface dev.kord.core.entity.channel.thread/ThreadChannel : dev.kord.core.behavior.channel.threads/ThreadChannelBehavior, dev.kord.core.entity.channel/GuildMessageChannel { // dev.kord.core.entity.channel.thread/ThreadChannel|null[0] open val appliedTags // dev.kord.core.entity.channel.thread/ThreadChannel.appliedTags|{}appliedTags[0] open fun (): kotlin.collections/List // dev.kord.core.entity.channel.thread/ThreadChannel.appliedTags.|(){}[0] @@ -1377,8 +1392,12 @@ sealed interface dev.kord.core.entity.interaction/Interaction : dev.kord.core.be abstract fun (): dev.kord.core.entity/User // dev.kord.core.entity.interaction/Interaction.user.|(){}[0] open val applicationId // dev.kord.core.entity.interaction/Interaction.applicationId|{}applicationId[0] open fun (): dev.kord.common.entity/Snowflake // dev.kord.core.entity.interaction/Interaction.applicationId.|(){}[0] + open val authorizingIntegrationOwners // dev.kord.core.entity.interaction/Interaction.authorizingIntegrationOwners|{}authorizingIntegrationOwners[0] + open fun (): kotlin.collections/Map // dev.kord.core.entity.interaction/Interaction.authorizingIntegrationOwners.|(){}[0] open val channelId // dev.kord.core.entity.interaction/Interaction.channelId|{}channelId[0] open fun (): dev.kord.common.entity/Snowflake // dev.kord.core.entity.interaction/Interaction.channelId.|(){}[0] + open val context // dev.kord.core.entity.interaction/Interaction.context|{}context[0] + open fun (): dev.kord.common.entity/InteractionContextType? // dev.kord.core.entity.interaction/Interaction.context.|(){}[0] open val entitlements // dev.kord.core.entity.interaction/Interaction.entitlements|{}entitlements[0] open fun (): kotlin.collections/List // dev.kord.core.entity.interaction/Interaction.entitlements.|(){}[0] open val guildLocale // dev.kord.core.entity.interaction/Interaction.guildLocale|{}guildLocale[0] @@ -1460,6 +1479,10 @@ sealed interface dev.kord.core.entity.interaction/ModalSubmitInteraction : dev.k abstract fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity.interaction/ModalSubmitInteraction // dev.kord.core.entity.interaction/ModalSubmitInteraction.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] } +sealed interface dev.kord.core.entity.interaction/PrimaryEntryPointCommandInteraction : dev.kord.core.entity.interaction/ApplicationCommandInteraction { // dev.kord.core.entity.interaction/PrimaryEntryPointCommandInteraction|null[0] + abstract fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity.interaction/PrimaryEntryPointCommandInteraction // dev.kord.core.entity.interaction/PrimaryEntryPointCommandInteraction.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] +} + sealed interface dev.kord.core.entity.interaction/SelectMenuInteraction : dev.kord.core.entity.interaction/ComponentInteraction { // dev.kord.core.entity.interaction/SelectMenuInteraction|null[0] open val component // dev.kord.core.entity.interaction/SelectMenuInteraction.component|{}component[0] open fun (): dev.kord.core.entity.component/SelectMenuComponent // dev.kord.core.entity.interaction/SelectMenuInteraction.component.|(){}[0] @@ -1657,6 +1680,11 @@ sealed interface dev.kord.core.event.interaction/ModalSubmitInteractionCreateEve abstract fun (): dev.kord.core.entity.interaction/ModalSubmitInteraction // dev.kord.core.event.interaction/ModalSubmitInteractionCreateEvent.interaction.|(){}[0] } +sealed interface dev.kord.core.event.interaction/PrimaryEntryPointCommandInteractionCreateEvent : dev.kord.core.event.interaction/ApplicationCommandInteractionCreateEvent { // dev.kord.core.event.interaction/PrimaryEntryPointCommandInteractionCreateEvent|null[0] + abstract val interaction // dev.kord.core.event.interaction/PrimaryEntryPointCommandInteractionCreateEvent.interaction|{}interaction[0] + abstract fun (): dev.kord.core.entity.interaction/PrimaryEntryPointCommandInteraction // dev.kord.core.event.interaction/PrimaryEntryPointCommandInteractionCreateEvent.interaction.|(){}[0] +} + sealed interface dev.kord.core.event.interaction/SelectMenuInteractionCreateEvent : dev.kord.core.event.interaction/ComponentInteractionCreateEvent { // dev.kord.core.event.interaction/SelectMenuInteractionCreateEvent|null[0] abstract val interaction // dev.kord.core.event.interaction/SelectMenuInteractionCreateEvent.interaction|{}interaction[0] abstract fun (): dev.kord.core.entity.interaction/SelectMenuInteraction // dev.kord.core.event.interaction/SelectMenuInteractionCreateEvent.interaction.|(){}[0] @@ -2108,8 +2136,10 @@ final class dev.kord.core.cache.data/ApplicationCommandSubcommandData { // dev.k } final class dev.kord.core.cache.data/ApplicationData : dev.kord.core.cache.data/BaseApplicationData { // dev.kord.core.cache.data/ApplicationData|null[0] - constructor (dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String?, kotlin/String, dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean, kotlin/Boolean, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., kotlin/String, dev.kord.core.cache.data/TeamData?, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.core.cache.data/ApplicationData.|(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;kotlin.String;dev.kord.core.cache.data.TeamData?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + constructor (dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String?, kotlin/String, dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean, kotlin/Boolean, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., kotlin/String, dev.kord.core.cache.data/TeamData?, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.core.cache.data/ApplicationData.|(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;kotlin.String;dev.kord.core.cache.data.TeamData?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final val bot // dev.kord.core.cache.data/ApplicationData.bot|{}bot[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.bot.|(){}[0] final val botPublic // dev.kord.core.cache.data/ApplicationData.botPublic|{}botPublic[0] final fun (): kotlin/Boolean // dev.kord.core.cache.data/ApplicationData.botPublic.|(){}[0] final val botRequireCodeGrant // dev.kord.core.cache.data/ApplicationData.botRequireCodeGrant|{}botRequireCodeGrant[0] @@ -2122,6 +2152,8 @@ final class dev.kord.core.cache.data/ApplicationData : dev.kord.core.cache.data/ final fun (): kotlin/String // dev.kord.core.cache.data/ApplicationData.description.|(){}[0] final val flags // dev.kord.core.cache.data/ApplicationData.flags|{}flags[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.flags.|(){}[0] + final val guild // dev.kord.core.cache.data/ApplicationData.guild|{}guild[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.guild.|(){}[0] final val guildId // dev.kord.core.cache.data/ApplicationData.guildId|{}guildId[0] final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/ApplicationData.guildId.|(){}[0] final val icon // dev.kord.core.cache.data/ApplicationData.icon|{}icon[0] @@ -2130,6 +2162,8 @@ final class dev.kord.core.cache.data/ApplicationData : dev.kord.core.cache.data/ final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/ApplicationData.id.|(){}[0] final val installParams // dev.kord.core.cache.data/ApplicationData.installParams|{}installParams[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.installParams.|(){}[0] + final val integrationTypesConfig // dev.kord.core.cache.data/ApplicationData.integrationTypesConfig|{}integrationTypesConfig[0] + final fun (): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/ApplicationData.integrationTypesConfig.|(){}[0] final val name // dev.kord.core.cache.data/ApplicationData.name|{}name[0] final fun (): kotlin/String // dev.kord.core.cache.data/ApplicationData.name.|(){}[0] final val ownerId // dev.kord.core.cache.data/ApplicationData.ownerId|{}ownerId[0] @@ -2154,27 +2188,30 @@ final class dev.kord.core.cache.data/ApplicationData : dev.kord.core.cache.data/ final fun (): kotlin/String // dev.kord.core.cache.data/ApplicationData.verifyKey.|(){}[0] final fun component1(): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/ApplicationData.component1|component1(){}[0] - final fun component10(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/ApplicationData.component10|component10(){}[0] - final fun component11(): kotlin/String // dev.kord.core.cache.data/ApplicationData.component11|component11(){}[0] - final fun component12(): dev.kord.core.cache.data/TeamData? // dev.kord.core.cache.data/ApplicationData.component12|component12(){}[0] - final fun component13(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/ApplicationData.component13|component13(){}[0] + final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component10|component10(){}[0] + final fun component11(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/ApplicationData.component11|component11(){}[0] + final fun component12(): kotlin/String // dev.kord.core.cache.data/ApplicationData.component12|component12(){}[0] + final fun component13(): dev.kord.core.cache.data/TeamData? // dev.kord.core.cache.data/ApplicationData.component13|component13(){}[0] final fun component14(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/ApplicationData.component14|component14(){}[0] - final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component15|component15(){}[0] - final fun component16(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component16|component16(){}[0] - final fun component17(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component17|component17(){}[0] - final fun component18(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/ApplicationData.component18|component18(){}[0] - final fun component19(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component19|component19(){}[0] + final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component15|component15(){}[0] + final fun component16(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/ApplicationData.component16|component16(){}[0] + final fun component17(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component17|component17(){}[0] + final fun component18(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component18|component18(){}[0] + final fun component19(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component19|component19(){}[0] final fun component2(): kotlin/String // dev.kord.core.cache.data/ApplicationData.component2|component2(){}[0] - final fun component20(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component20|component20(){}[0] - final fun component21(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component21|component21(){}[0] + final fun component20(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/ApplicationData.component20|component20(){}[0] + final fun component21(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component21|component21(){}[0] + final fun component22(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/ApplicationData.component22|component22(){}[0] + final fun component23(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component23|component23(){}[0] + final fun component24(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component24|component24(){}[0] final fun component3(): kotlin/String? // dev.kord.core.cache.data/ApplicationData.component3|component3(){}[0] final fun component4(): kotlin/String // dev.kord.core.cache.data/ApplicationData.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/ApplicationData.component5|component5(){}[0] final fun component6(): kotlin/Boolean // dev.kord.core.cache.data/ApplicationData.component6|component6(){}[0] final fun component7(): kotlin/Boolean // dev.kord.core.cache.data/ApplicationData.component7|component7(){}[0] - final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component8|component8(){}[0] + final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/ApplicationData.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String? = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., kotlin/String = ..., dev.kord.core.cache.data/TeamData? = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.core.cache.data/ApplicationData // dev.kord.core.cache.data/ApplicationData.copy|copy(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;kotlin.String;dev.kord.core.cache.data.TeamData?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String? = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., kotlin/String = ..., dev.kord.core.cache.data/TeamData? = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.core.cache.data/ApplicationData // dev.kord.core.cache.data/ApplicationData.copy|copy(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String?;kotlin.String;dev.kord.common.entity.optional.Optional>;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;kotlin.String;dev.kord.core.cache.data.TeamData?;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.cache.data/ApplicationData.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.core.cache.data/ApplicationData.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.core.cache.data/ApplicationData.toString|toString(){}[0] @@ -3577,7 +3614,7 @@ final class dev.kord.core.cache.data/GuildWidgetData { // dev.kord.core.cache.da } final class dev.kord.core.cache.data/IntegrationData { // dev.kord.core.cache.data/IntegrationData|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, kotlin/Boolean, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.core.cache.data/IntegrationsAccountData, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.core.cache.data/IntegrationData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.core.cache.data.IntegrationsAccountData;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, kotlin/Boolean, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.core.cache.data/IntegrationsAccountData, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.core.cache.data/IntegrationData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.core.cache.data.IntegrationsAccountData;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional){}[0] final val account // dev.kord.core.cache.data/IntegrationData.account|{}account[0] final fun (): dev.kord.core.cache.data/IntegrationsAccountData // dev.kord.core.cache.data/IntegrationData.account.|(){}[0] @@ -3605,30 +3642,27 @@ final class dev.kord.core.cache.data/IntegrationData { // dev.kord.core.cache.da final fun (): dev.kord.common.entity.optional/OptionalInt // dev.kord.core.cache.data/IntegrationData.subscriberCount.|(){}[0] final val syncedAt // dev.kord.core.cache.data/IntegrationData.syncedAt|{}syncedAt[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.syncedAt.|(){}[0] - final val syncing // dev.kord.core.cache.data/IntegrationData.syncing|{}syncing[0] - final fun (): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.core.cache.data/IntegrationData.syncing.|(){}[0] final val type // dev.kord.core.cache.data/IntegrationData.type|{}type[0] final fun (): kotlin/String // dev.kord.core.cache.data/IntegrationData.type.|(){}[0] final val user // dev.kord.core.cache.data/IntegrationData.user|{}user[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.user.|(){}[0] final fun component1(): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/IntegrationData.component1|component1(){}[0] - final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component10|component10(){}[0] - final fun component11(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component11|component11(){}[0] - final fun component12(): dev.kord.core.cache.data/IntegrationsAccountData // dev.kord.core.cache.data/IntegrationData.component12|component12(){}[0] - final fun component13(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component13|component13(){}[0] - final fun component14(): dev.kord.common.entity.optional/OptionalInt // dev.kord.core.cache.data/IntegrationData.component14|component14(){}[0] - final fun component15(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.core.cache.data/IntegrationData.component15|component15(){}[0] - final fun component16(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component16|component16(){}[0] + final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component10|component10(){}[0] + final fun component11(): dev.kord.core.cache.data/IntegrationsAccountData // dev.kord.core.cache.data/IntegrationData.component11|component11(){}[0] + final fun component12(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component12|component12(){}[0] + final fun component13(): dev.kord.common.entity.optional/OptionalInt // dev.kord.core.cache.data/IntegrationData.component13|component13(){}[0] + final fun component14(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.core.cache.data/IntegrationData.component14|component14(){}[0] + final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component15|component15(){}[0] final fun component2(): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/IntegrationData.component2|component2(){}[0] final fun component3(): kotlin/String // dev.kord.core.cache.data/IntegrationData.component3|component3(){}[0] final fun component4(): kotlin/String // dev.kord.core.cache.data/IntegrationData.component4|component4(){}[0] final fun component5(): kotlin/Boolean // dev.kord.core.cache.data/IntegrationData.component5|component5(){}[0] - final fun component6(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.core.cache.data/IntegrationData.component6|component6(){}[0] - final fun component7(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/IntegrationData.component7|component7(){}[0] - final fun component8(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.core.cache.data/IntegrationData.component8|component8(){}[0] - final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.core.cache.data/IntegrationsAccountData = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.core.cache.data/IntegrationData // dev.kord.core.cache.data/IntegrationData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.core.cache.data.IntegrationsAccountData;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional){}[0] + final fun component6(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/IntegrationData.component6|component6(){}[0] + final fun component7(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.core.cache.data/IntegrationData.component7|component7(){}[0] + final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component8|component8(){}[0] + final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/IntegrationData.component9|component9(){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., kotlin/String = ..., kotlin/String = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.core.cache.data/IntegrationsAccountData = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.core.cache.data/IntegrationData // dev.kord.core.cache.data/IntegrationData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.core.cache.data.IntegrationsAccountData;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.cache.data/IntegrationData.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.core.cache.data/IntegrationData.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.core.cache.data/IntegrationData.toString|toString(){}[0] @@ -3681,16 +3715,20 @@ final class dev.kord.core.cache.data/IntegrationsAccountData { // dev.kord.core. } final class dev.kord.core.cache.data/InteractionData { // dev.kord.core.cache.data/InteractionData|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/InteractionType, dev.kord.core.cache.data/ApplicationInteractionData, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String, dev.kord.common.entity.optional/Optional = ..., kotlin/Int, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...) // dev.kord.core.cache.data/InteractionData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.core.cache.data.ApplicationInteractionData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.optional.Optional;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/InteractionType, dev.kord.core.cache.data/ApplicationInteractionData, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String, dev.kord.common.entity.optional/Optional = ..., kotlin/Int, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/Map, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...) // dev.kord.core.cache.data/InteractionData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.core.cache.data.ApplicationInteractionData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.optional.Optional;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.Map;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] final val appPermissions // dev.kord.core.cache.data/InteractionData.appPermissions|{}appPermissions[0] - final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.appPermissions.|(){}[0] + final fun (): dev.kord.common.entity/Permissions // dev.kord.core.cache.data/InteractionData.appPermissions.|(){}[0] final val applicationId // dev.kord.core.cache.data/InteractionData.applicationId|{}applicationId[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/InteractionData.applicationId.|(){}[0] + final val authorizingIntegrationOwners // dev.kord.core.cache.data/InteractionData.authorizingIntegrationOwners|{}authorizingIntegrationOwners[0] + final fun (): kotlin.collections/Map // dev.kord.core.cache.data/InteractionData.authorizingIntegrationOwners.|(){}[0] final val channel // dev.kord.core.cache.data/InteractionData.channel|{}channel[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.channel.|(){}[0] final val channelId // dev.kord.core.cache.data/InteractionData.channelId|{}channelId[0] final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/InteractionData.channelId.|(){}[0] + final val context // dev.kord.core.cache.data/InteractionData.context|{}context[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.context.|(){}[0] final val data // dev.kord.core.cache.data/InteractionData.data|{}data[0] final fun (): dev.kord.core.cache.data/ApplicationInteractionData // dev.kord.core.cache.data/InteractionData.data.|(){}[0] final val entitlements // dev.kord.core.cache.data/InteractionData.entitlements|{}entitlements[0] @@ -3723,10 +3761,12 @@ final class dev.kord.core.cache.data/InteractionData { // dev.kord.core.cache.da final fun component11(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component11|component11(){}[0] final fun component12(): kotlin/Int // dev.kord.core.cache.data/InteractionData.component12|component12(){}[0] final fun component13(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component13|component13(){}[0] - final fun component14(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component14|component14(){}[0] + final fun component14(): dev.kord.common.entity/Permissions // dev.kord.core.cache.data/InteractionData.component14|component14(){}[0] final fun component15(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component15|component15(){}[0] final fun component16(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component16|component16(){}[0] - final fun component17(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/InteractionData.component17|component17(){}[0] + final fun component17(): kotlin.collections/Map // dev.kord.core.cache.data/InteractionData.component17|component17(){}[0] + final fun component18(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component18|component18(){}[0] + final fun component19(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/InteractionData.component19|component19(){}[0] final fun component2(): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/InteractionData.component2|component2(){}[0] final fun component3(): dev.kord.common.entity/InteractionType // dev.kord.core.cache.data/InteractionData.component3|component3(){}[0] final fun component4(): dev.kord.core.cache.data/ApplicationInteractionData // dev.kord.core.cache.data/InteractionData.component4|component4(){}[0] @@ -3735,7 +3775,7 @@ final class dev.kord.core.cache.data/InteractionData { // dev.kord.core.cache.da final fun component7(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/InteractionData.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionData.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/InteractionType = ..., dev.kord.core.cache.data/ApplicationInteractionData = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Int = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...): dev.kord.core.cache.data/InteractionData // dev.kord.core.cache.data/InteractionData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.core.cache.data.ApplicationInteractionData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.optional.Optional;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/InteractionType = ..., dev.kord.core.cache.data/ApplicationInteractionData = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/String = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Int = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/Map = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ...): dev.kord.core.cache.data/InteractionData // dev.kord.core.cache.data/InteractionData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.core.cache.data.ApplicationInteractionData;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.String;dev.kord.common.entity.optional.Optional;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.Map;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.cache.data/InteractionData.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.core.cache.data/InteractionData.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.core.cache.data/InteractionData.toString|toString(){}[0] @@ -3757,6 +3797,53 @@ final class dev.kord.core.cache.data/InteractionData { // dev.kord.core.cache.da } } +final class dev.kord.core.cache.data/InteractionMetadataData { // dev.kord.core.cache.data/InteractionMetadataData|null[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/InteractionType, dev.kord.core.cache.data/UserData, kotlin.collections/Map, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.core.cache.data/InteractionMetadataData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.core.cache.data.UserData;kotlin.collections.Map;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional){}[0] + + final val authorizingIntegrationOwners // dev.kord.core.cache.data/InteractionMetadataData.authorizingIntegrationOwners|{}authorizingIntegrationOwners[0] + final fun (): kotlin.collections/Map // dev.kord.core.cache.data/InteractionMetadataData.authorizingIntegrationOwners.|(){}[0] + final val id // dev.kord.core.cache.data/InteractionMetadataData.id|{}id[0] + final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/InteractionMetadataData.id.|(){}[0] + final val interactedMessageId // dev.kord.core.cache.data/InteractionMetadataData.interactedMessageId|{}interactedMessageId[0] + final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/InteractionMetadataData.interactedMessageId.|(){}[0] + final val originalResponseMessageId // dev.kord.core.cache.data/InteractionMetadataData.originalResponseMessageId|{}originalResponseMessageId[0] + final fun (): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/InteractionMetadataData.originalResponseMessageId.|(){}[0] + final val triggeringInteractionMetadata // dev.kord.core.cache.data/InteractionMetadataData.triggeringInteractionMetadata|{}triggeringInteractionMetadata[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionMetadataData.triggeringInteractionMetadata.|(){}[0] + final val type // dev.kord.core.cache.data/InteractionMetadataData.type|{}type[0] + final fun (): dev.kord.common.entity/InteractionType // dev.kord.core.cache.data/InteractionMetadataData.type.|(){}[0] + final val user // dev.kord.core.cache.data/InteractionMetadataData.user|{}user[0] + final fun (): dev.kord.core.cache.data/UserData // dev.kord.core.cache.data/InteractionMetadataData.user.|(){}[0] + + final fun component1(): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/InteractionMetadataData.component1|component1(){}[0] + final fun component2(): dev.kord.common.entity/InteractionType // dev.kord.core.cache.data/InteractionMetadataData.component2|component2(){}[0] + final fun component3(): dev.kord.core.cache.data/UserData // dev.kord.core.cache.data/InteractionMetadataData.component3|component3(){}[0] + final fun component4(): kotlin.collections/Map // dev.kord.core.cache.data/InteractionMetadataData.component4|component4(){}[0] + final fun component5(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/InteractionMetadataData.component5|component5(){}[0] + final fun component6(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/InteractionMetadataData.component6|component6(){}[0] + final fun component7(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/InteractionMetadataData.component7|component7(){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/InteractionType = ..., dev.kord.core.cache.data/UserData = ..., kotlin.collections/Map = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.core.cache.data/InteractionMetadataData // dev.kord.core.cache.data/InteractionMetadataData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.InteractionType;dev.kord.core.cache.data.UserData;kotlin.collections.Map;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.cache.data/InteractionMetadataData.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.core.cache.data/InteractionMetadataData.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.core.cache.data/InteractionMetadataData.toString|toString(){}[0] + + final object $serializer : kotlinx.serialization.internal/GeneratedSerializer { // dev.kord.core.cache.data/InteractionMetadataData.$serializer|null[0] + final val descriptor // dev.kord.core.cache.data/InteractionMetadataData.$serializer.descriptor|{}descriptor[0] + final fun (): kotlinx.serialization.descriptors/SerialDescriptor // dev.kord.core.cache.data/InteractionMetadataData.$serializer.descriptor.|(){}[0] + + final fun childSerializers(): kotlin/Array> // dev.kord.core.cache.data/InteractionMetadataData.$serializer.childSerializers|childSerializers(){}[0] + final fun deserialize(kotlinx.serialization.encoding/Decoder): dev.kord.core.cache.data/InteractionMetadataData // dev.kord.core.cache.data/InteractionMetadataData.$serializer.deserialize|deserialize(kotlinx.serialization.encoding.Decoder){}[0] + final fun serialize(kotlinx.serialization.encoding/Encoder, dev.kord.core.cache.data/InteractionMetadataData) // dev.kord.core.cache.data/InteractionMetadataData.$serializer.serialize|serialize(kotlinx.serialization.encoding.Encoder;dev.kord.core.cache.data.InteractionMetadataData){}[0] + } + + final object Companion { // dev.kord.core.cache.data/InteractionMetadataData.Companion|null[0] + final val $childSerializers // dev.kord.core.cache.data/InteractionMetadataData.Companion.$childSerializers|{}$childSerializers[0] + + final fun from(dev.kord.common.entity/DiscordInteractionMetadata): dev.kord.core.cache.data/InteractionMetadataData // dev.kord.core.cache.data/InteractionMetadataData.Companion.from|from(dev.kord.common.entity.DiscordInteractionMetadata){}[0] + final fun serializer(): kotlinx.serialization/KSerializer // dev.kord.core.cache.data/InteractionMetadataData.Companion.serializer|serializer(){}[0] + } +} + final class dev.kord.core.cache.data/InviteCreateData { // dev.kord.core.cache.data/InviteCreateData|null[0] constructor (dev.kord.common.entity/Snowflake, kotlin/String, kotlinx.datetime/Instant, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., kotlin.time/Duration, kotlin/Int, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean, kotlin/Int) // dev.kord.core.cache.data/InviteCreateData.|(dev.kord.common.entity.Snowflake;kotlin.String;kotlinx.datetime.Instant;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.OptionalSnowflake;kotlin.time.Duration;kotlin.Int;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;kotlin.Boolean;kotlin.Int){}[0] @@ -4100,7 +4187,7 @@ final class dev.kord.core.cache.data/MembersChunkData { // dev.kord.core.cache.d } final class dev.kord.core.cache.data/MessageData { // dev.kord.core.cache.data/MessageData|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.core.cache.data/UserData, kotlin/String, kotlinx.datetime/Instant, kotlinx.datetime/Instant? = ..., kotlin/Boolean, kotlin/Boolean, kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...) // dev.kord.core.cache.data/MessageData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.core.cache.data.UserData;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.core.cache.data/UserData, kotlin/String, kotlinx.datetime/Instant, kotlinx.datetime/Instant? = ..., kotlin/Boolean, kotlin/Boolean, kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List, kotlin.collections/List, dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean, dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...) // dev.kord.core.cache.data/MessageData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.core.cache.data.UserData;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] final val activity // dev.kord.core.cache.data/MessageData.activity|{}activity[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.activity.|(){}[0] @@ -4130,6 +4217,8 @@ final class dev.kord.core.cache.data/MessageData { // dev.kord.core.cache.data/M final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/MessageData.id.|(){}[0] final val interaction // dev.kord.core.cache.data/MessageData.interaction|{}interaction[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.interaction.|(){}[0] + final val interactionMetadata // dev.kord.core.cache.data/MessageData.interactionMetadata|{}interactionMetadata[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.interactionMetadata.|(){}[0] final val mentionEveryone // dev.kord.core.cache.data/MessageData.mentionEveryone|{}mentionEveryone[0] final fun (): kotlin/Boolean // dev.kord.core.cache.data/MessageData.mentionEveryone.|(){}[0] final val mentionRoles // dev.kord.core.cache.data/MessageData.mentionRoles|{}mentionRoles[0] @@ -4182,18 +4271,19 @@ final class dev.kord.core.cache.data/MessageData { // dev.kord.core.cache.data/M final fun component24(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.component24|component24(){}[0] final fun component25(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/MessageData.component25|component25(){}[0] final fun component26(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.component26|component26(){}[0] - final fun component27(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.component27|component27(){}[0] - final fun component28(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/MessageData.component28|component28(){}[0] - final fun component29(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.component29|component29(){}[0] + final fun component27(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.component27|component27(){}[0] + final fun component28(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.component28|component28(){}[0] + final fun component29(): dev.kord.common.entity.optional/Optional> // dev.kord.core.cache.data/MessageData.component29|component29(){}[0] final fun component3(): dev.kord.common.entity.optional/OptionalSnowflake // dev.kord.core.cache.data/MessageData.component3|component3(){}[0] - final fun component30(): dev.kord.common.entity.optional/OptionalInt // dev.kord.core.cache.data/MessageData.component30|component30(){}[0] + final fun component30(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MessageData.component30|component30(){}[0] + final fun component31(): dev.kord.common.entity.optional/OptionalInt // dev.kord.core.cache.data/MessageData.component31|component31(){}[0] final fun component4(): dev.kord.core.cache.data/UserData // dev.kord.core.cache.data/MessageData.component4|component4(){}[0] final fun component5(): kotlin/String // dev.kord.core.cache.data/MessageData.component5|component5(){}[0] final fun component6(): kotlinx.datetime/Instant // dev.kord.core.cache.data/MessageData.component6|component6(){}[0] final fun component7(): kotlinx.datetime/Instant? // dev.kord.core.cache.data/MessageData.component7|component7(){}[0] final fun component8(): kotlin/Boolean // dev.kord.core.cache.data/MessageData.component8|component8(){}[0] final fun component9(): kotlin/Boolean // dev.kord.core.cache.data/MessageData.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.core.cache.data/UserData = ..., kotlin/String = ..., kotlinx.datetime/Instant = ..., kotlinx.datetime/Instant? = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...): dev.kord.core.cache.data/MessageData // dev.kord.core.cache.data/MessageData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.core.cache.data.UserData;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.core.cache.data/UserData = ..., kotlin/String = ..., kotlinx.datetime/Instant = ..., kotlinx.datetime/Instant? = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., kotlin.collections/List = ..., kotlin.collections/List = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity/MessageType = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalSnowflake = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalInt = ...): dev.kord.core.cache.data/MessageData // dev.kord.core.cache.data/MessageData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.core.cache.data.UserData;kotlin.String;kotlinx.datetime.Instant;kotlinx.datetime.Instant?;kotlin.Boolean;kotlin.Boolean;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;kotlin.collections.List;kotlin.collections.List;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;kotlin.Boolean;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.MessageType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalSnowflake;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalInt){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.cache.data/MessageData.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.core.cache.data/MessageData.hashCode|hashCode(){}[0] final fun plus(dev.kord.common.entity/DiscordPartialMessage): dev.kord.core.cache.data/MessageData // dev.kord.core.cache.data/MessageData.plus|plus(dev.kord.common.entity.DiscordPartialMessage){}[0] @@ -5862,6 +5952,15 @@ final class dev.kord.core.entity.application/GlobalMessageCommand : dev.kord.cor final fun (): dev.kord.rest.service/InteractionService // dev.kord.core.entity.application/GlobalMessageCommand.service.|(){}[0] } +final class dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand : dev.kord.core.behavior/GlobalEntryPointCommandBehavior, dev.kord.core.entity.application/GlobalApplicationCommand, dev.kord.core.entity.application/PrimaryEntryPointCommand { // dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand|null[0] + constructor (dev.kord.core.cache.data/ApplicationCommandData, dev.kord.rest.service/InteractionService) // dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand.|(dev.kord.core.cache.data.ApplicationCommandData;dev.kord.rest.service.InteractionService){}[0] + + final val data // dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand.data|{}data[0] + final fun (): dev.kord.core.cache.data/ApplicationCommandData // dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand.data.|(){}[0] + final val service // dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand.service|{}service[0] + final fun (): dev.kord.rest.service/InteractionService // dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand.service.|(){}[0] +} + final class dev.kord.core.entity.application/GlobalUserCommand : dev.kord.core.behavior/GlobalUserCommandBehavior, dev.kord.core.entity.application/GlobalApplicationCommand, dev.kord.core.entity.application/UserCommand { // dev.kord.core.entity.application/GlobalUserCommand|null[0] constructor (dev.kord.core.cache.data/ApplicationCommandData, dev.kord.rest.service/InteractionService) // dev.kord.core.entity.application/GlobalUserCommand.|(dev.kord.core.cache.data.ApplicationCommandData;dev.kord.rest.service.InteractionService){}[0] @@ -5906,6 +6005,17 @@ final class dev.kord.core.entity.application/GuildMessageCommand : dev.kord.core final fun (): dev.kord.rest.service/InteractionService // dev.kord.core.entity.application/GuildMessageCommand.service.|(){}[0] } +final class dev.kord.core.entity.application/GuildPrimaryEntryPointCommand : dev.kord.core.behavior/GuildEntryPointCommandBehavior, dev.kord.core.entity.application/GuildApplicationCommand, dev.kord.core.entity.application/PrimaryEntryPointCommand { // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand|null[0] + constructor (dev.kord.core.cache.data/ApplicationCommandData, dev.kord.rest.service/InteractionService) // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand.|(dev.kord.core.cache.data.ApplicationCommandData;dev.kord.rest.service.InteractionService){}[0] + + final val data // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand.data|{}data[0] + final fun (): dev.kord.core.cache.data/ApplicationCommandData // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand.data.|(){}[0] + final val guildId // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand.guildId|{}guildId[0] + final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand.guildId.|(){}[0] + final val service // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand.service|{}service[0] + final fun (): dev.kord.rest.service/InteractionService // dev.kord.core.entity.application/GuildPrimaryEntryPointCommand.service.|(){}[0] +} + final class dev.kord.core.entity.application/GuildUserCommand : dev.kord.core.behavior/GuildUserCommandBehavior, dev.kord.core.entity.application/GuildApplicationCommand, dev.kord.core.entity.application/UserCommand { // dev.kord.core.entity.application/GuildUserCommand|null[0] constructor (dev.kord.core.cache.data/ApplicationCommandData, dev.kord.rest.service/InteractionService) // dev.kord.core.entity.application/GuildUserCommand.|(dev.kord.core.cache.data.ApplicationCommandData;dev.kord.rest.service.InteractionService){}[0] @@ -6709,6 +6819,22 @@ final class dev.kord.core.entity.interaction/GlobalModalSubmitInteraction : dev. final fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity.interaction/GlobalModalSubmitInteraction // dev.kord.core.entity.interaction/GlobalModalSubmitInteraction.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] } +final class dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction : dev.kord.core.entity.interaction/GlobalApplicationCommandInteraction, dev.kord.core.entity.interaction/PrimaryEntryPointCommandInteraction { // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction|null[0] + constructor (dev.kord.core.cache.data/InteractionData, dev.kord.core/Kord, dev.kord.core.supplier/EntitySupplier) // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.|(dev.kord.core.cache.data.InteractionData;dev.kord.core.Kord;dev.kord.core.supplier.EntitySupplier){}[0] + + final val data // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.data|{}data[0] + final fun (): dev.kord.core.cache.data/InteractionData // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.data.|(){}[0] + final val kord // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.kord|{}kord[0] + final fun (): dev.kord.core/Kord // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.kord.|(){}[0] + final val supplier // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.supplier|{}supplier[0] + final fun (): dev.kord.core.supplier/EntitySupplier // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.supplier.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.toString|toString(){}[0] + final fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction // dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] +} + final class dev.kord.core.entity.interaction/GlobalSelectMenuInteraction : dev.kord.core.entity.interaction/GlobalComponentInteraction, dev.kord.core.entity.interaction/SelectMenuInteraction { // dev.kord.core.entity.interaction/GlobalSelectMenuInteraction|null[0] constructor (dev.kord.core.cache.data/InteractionData, dev.kord.core/Kord, dev.kord.core.supplier/EntitySupplier) // dev.kord.core.entity.interaction/GlobalSelectMenuInteraction.|(dev.kord.core.cache.data.InteractionData;dev.kord.core.Kord;dev.kord.core.supplier.EntitySupplier){}[0] @@ -6836,6 +6962,22 @@ final class dev.kord.core.entity.interaction/GuildModalSubmitInteraction : dev.k final fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity.interaction/GuildModalSubmitInteraction // dev.kord.core.entity.interaction/GuildModalSubmitInteraction.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] } +final class dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction : dev.kord.core.entity.interaction/GuildApplicationCommandInteraction, dev.kord.core.entity.interaction/PrimaryEntryPointCommandInteraction { // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction|null[0] + constructor (dev.kord.core.cache.data/InteractionData, dev.kord.core/Kord, dev.kord.core.supplier/EntitySupplier) // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.|(dev.kord.core.cache.data.InteractionData;dev.kord.core.Kord;dev.kord.core.supplier.EntitySupplier){}[0] + + final val data // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.data|{}data[0] + final fun (): dev.kord.core.cache.data/InteractionData // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.data.|(){}[0] + final val kord // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.kord|{}kord[0] + final fun (): dev.kord.core/Kord // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.kord.|(){}[0] + final val supplier // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.supplier|{}supplier[0] + final fun (): dev.kord.core.supplier/EntitySupplier // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.supplier.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.toString|toString(){}[0] + final fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction // dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] +} + final class dev.kord.core.entity.interaction/GuildSelectMenuInteraction : dev.kord.core.entity.interaction/GuildComponentInteraction, dev.kord.core.entity.interaction/SelectMenuInteraction { // dev.kord.core.entity.interaction/GuildSelectMenuInteraction|null[0] constructor (dev.kord.core.cache.data/InteractionData, dev.kord.core/Kord, dev.kord.core.supplier/EntitySupplier) // dev.kord.core.entity.interaction/GuildSelectMenuInteraction.|(dev.kord.core.cache.data.InteractionData;dev.kord.core.Kord;dev.kord.core.supplier.EntitySupplier){}[0] @@ -7189,8 +7331,14 @@ final class dev.kord.core.entity/Activity { // dev.kord.core.entity/Activity|nul final class dev.kord.core.entity/Application : dev.kord.core.entity/BaseApplication { // dev.kord.core.entity/Application|null[0] constructor (dev.kord.core.cache.data/ApplicationData, dev.kord.core/Kord, dev.kord.core.supplier/EntitySupplier = ...) // dev.kord.core.entity/Application.|(dev.kord.core.cache.data.ApplicationData;dev.kord.core.Kord;dev.kord.core.supplier.EntitySupplier){}[0] + final val bot // dev.kord.core.entity/Application.bot|{}bot[0] + final fun (): dev.kord.core.entity/User? // dev.kord.core.entity/Application.bot.|(){}[0] final val data // dev.kord.core.entity/Application.data|{}data[0] final fun (): dev.kord.core.cache.data/ApplicationData // dev.kord.core.entity/Application.data.|(){}[0] + final val guild // dev.kord.core.entity/Application.guild|{}guild[0] + final fun (): dev.kord.core.entity/PartialGuild? // dev.kord.core.entity/Application.guild.|(){}[0] + final val integrationTypesConfig // dev.kord.core.entity/Application.integrationTypesConfig|{}integrationTypesConfig[0] + final fun (): kotlin.collections/Map? // dev.kord.core.entity/Application.integrationTypesConfig.|(){}[0] final val isPublic // dev.kord.core.entity/Application.isPublic|{}isPublic[0] final fun (): kotlin/Boolean // dev.kord.core.entity/Application.isPublic.|(){}[0] final val requireCodeGrant // dev.kord.core.entity/Application.requireCodeGrant|{}requireCodeGrant[0] @@ -8037,8 +8185,6 @@ final class dev.kord.core.entity/Integration : dev.kord.core.entity/KordEntity, final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.entity/Integration.id.|(){}[0] final val isEnabled // dev.kord.core.entity/Integration.isEnabled|{}isEnabled[0] final fun (): kotlin/Boolean // dev.kord.core.entity/Integration.isEnabled.|(){}[0] - final val isSyncing // dev.kord.core.entity/Integration.isSyncing|{}isSyncing[0] - final fun (): kotlin/Boolean? // dev.kord.core.entity/Integration.isSyncing.|(){}[0] final val kord // dev.kord.core.entity/Integration.kord|{}kord[0] final fun (): dev.kord.core/Kord // dev.kord.core.entity/Integration.kord.|(){}[0] final val name // dev.kord.core.entity/Integration.name|{}name[0] @@ -8165,6 +8311,8 @@ final class dev.kord.core.entity/Message : dev.kord.core.behavior/MessageBehavio final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.entity/Message.id.|(){}[0] final val interaction // dev.kord.core.entity/Message.interaction|{}interaction[0] final fun (): dev.kord.core.entity/Message.Interaction? // dev.kord.core.entity/Message.interaction.|(){}[0] + final val interactionMetadata // dev.kord.core.entity/Message.interactionMetadata|{}interactionMetadata[0] + final fun (): dev.kord.core.entity/Message.InteractionMetadata? // dev.kord.core.entity/Message.interactionMetadata.|(){}[0] final val isPinned // dev.kord.core.entity/Message.isPinned|{}isPinned[0] final fun (): kotlin/Boolean // dev.kord.core.entity/Message.isPinned.|(){}[0] final val kord // dev.kord.core.entity/Message.kord|{}kord[0] @@ -8243,6 +8391,33 @@ final class dev.kord.core.entity/Message : dev.kord.core.behavior/MessageBehavio final suspend fun getUser(): dev.kord.core.entity/User // dev.kord.core.entity/Message.Interaction.getUser|getUser(){}[0] final suspend fun getUserOrNull(): dev.kord.core.entity/User? // dev.kord.core.entity/Message.Interaction.getUserOrNull|getUserOrNull(){}[0] } + + final class InteractionMetadata : dev.kord.core.entity/KordEntity, dev.kord.core.entity/Strategizable { // dev.kord.core.entity/Message.InteractionMetadata|null[0] + constructor (dev.kord.core.cache.data/InteractionMetadataData, dev.kord.core/Kord, dev.kord.core.supplier/EntitySupplier = ...) // dev.kord.core.entity/Message.InteractionMetadata.|(dev.kord.core.cache.data.InteractionMetadataData;dev.kord.core.Kord;dev.kord.core.supplier.EntitySupplier){}[0] + + final val authorizingIntegrationOwners // dev.kord.core.entity/Message.InteractionMetadata.authorizingIntegrationOwners|{}authorizingIntegrationOwners[0] + final fun (): kotlin.collections/Map // dev.kord.core.entity/Message.InteractionMetadata.authorizingIntegrationOwners.|(){}[0] + final val data // dev.kord.core.entity/Message.InteractionMetadata.data|{}data[0] + final fun (): dev.kord.core.cache.data/InteractionMetadataData // dev.kord.core.entity/Message.InteractionMetadata.data.|(){}[0] + final val id // dev.kord.core.entity/Message.InteractionMetadata.id|{}id[0] + final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.entity/Message.InteractionMetadata.id.|(){}[0] + final val interactedMessageId // dev.kord.core.entity/Message.InteractionMetadata.interactedMessageId|{}interactedMessageId[0] + final fun (): dev.kord.common.entity/Snowflake? // dev.kord.core.entity/Message.InteractionMetadata.interactedMessageId.|(){}[0] + final val kord // dev.kord.core.entity/Message.InteractionMetadata.kord|{}kord[0] + final fun (): dev.kord.core/Kord // dev.kord.core.entity/Message.InteractionMetadata.kord.|(){}[0] + final val originalResponseMessageId // dev.kord.core.entity/Message.InteractionMetadata.originalResponseMessageId|{}originalResponseMessageId[0] + final fun (): dev.kord.common.entity/Snowflake? // dev.kord.core.entity/Message.InteractionMetadata.originalResponseMessageId.|(){}[0] + final val supplier // dev.kord.core.entity/Message.InteractionMetadata.supplier|{}supplier[0] + final fun (): dev.kord.core.supplier/EntitySupplier // dev.kord.core.entity/Message.InteractionMetadata.supplier.|(){}[0] + final val triggeringInteractionMetadata // dev.kord.core.entity/Message.InteractionMetadata.triggeringInteractionMetadata|{}triggeringInteractionMetadata[0] + final fun (): dev.kord.common.entity/DiscordInteractionMetadata? // dev.kord.core.entity/Message.InteractionMetadata.triggeringInteractionMetadata.|(){}[0] + final val type // dev.kord.core.entity/Message.InteractionMetadata.type|{}type[0] + final fun (): dev.kord.common.entity/InteractionType // dev.kord.core.entity/Message.InteractionMetadata.type.|(){}[0] + final val user // dev.kord.core.entity/Message.InteractionMetadata.user|{}user[0] + final fun (): dev.kord.core.entity/User // dev.kord.core.entity/Message.InteractionMetadata.user.|(){}[0] + + final fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity/Strategizable // dev.kord.core.entity/Message.InteractionMetadata.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] + } } final class dev.kord.core.entity/MessageReference : dev.kord.core/KordObject { // dev.kord.core.entity/MessageReference|null[0] @@ -10452,6 +10627,19 @@ final class dev.kord.core.event.interaction/GlobalModalSubmitInteractionCreateEv final fun (): kotlin/Int // dev.kord.core.event.interaction/GlobalModalSubmitInteractionCreateEvent.shard.|(){}[0] } +final class dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent : dev.kord.core.event.interaction/GlobalApplicationCommandInteractionCreateEvent, dev.kord.core.event.interaction/PrimaryEntryPointCommandInteractionCreateEvent { // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent|null[0] + constructor (dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction, dev.kord.core/Kord, kotlin/Int, kotlin/Any?) // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.|(dev.kord.core.entity.interaction.GlobalPrimaryEntryPointCommandInteraction;dev.kord.core.Kord;kotlin.Int;kotlin.Any?){}[0] + + final val customContext // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.customContext|{}customContext[0] + final fun (): kotlin/Any? // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.customContext.|(){}[0] + final val interaction // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.interaction|{}interaction[0] + final fun (): dev.kord.core.entity.interaction/GlobalPrimaryEntryPointCommandInteraction // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.interaction.|(){}[0] + final val kord // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.kord|{}kord[0] + final fun (): dev.kord.core/Kord // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.kord.|(){}[0] + final val shard // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.shard|{}shard[0] + final fun (): kotlin/Int // dev.kord.core.event.interaction/GlobalPrimaryEntryPointCommandInteractionCreateEvent.shard.|(){}[0] +} + final class dev.kord.core.event.interaction/GlobalSelectMenuInteractionCreateEvent : dev.kord.core.event.interaction/GlobalComponentInteractionCreateEvent, dev.kord.core.event.interaction/SelectMenuInteractionCreateEvent { // dev.kord.core.event.interaction/GlobalSelectMenuInteractionCreateEvent|null[0] constructor (dev.kord.core.entity.interaction/GlobalSelectMenuInteraction, dev.kord.core/Kord, kotlin/Int, kotlin/Any?) // dev.kord.core.event.interaction/GlobalSelectMenuInteractionCreateEvent.|(dev.kord.core.entity.interaction.GlobalSelectMenuInteraction;dev.kord.core.Kord;kotlin.Int;kotlin.Any?){}[0] @@ -10543,6 +10731,19 @@ final class dev.kord.core.event.interaction/GuildModalSubmitInteractionCreateEve final fun (): kotlin/Int // dev.kord.core.event.interaction/GuildModalSubmitInteractionCreateEvent.shard.|(){}[0] } +final class dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent : dev.kord.core.event.interaction/GuildApplicationCommandInteractionCreateEvent, dev.kord.core.event.interaction/PrimaryEntryPointCommandInteractionCreateEvent { // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent|null[0] + constructor (dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction, dev.kord.core/Kord, kotlin/Int, kotlin/Any?) // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.|(dev.kord.core.entity.interaction.GuildPrimaryEntryPointCommandInteraction;dev.kord.core.Kord;kotlin.Int;kotlin.Any?){}[0] + + final val customContext // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.customContext|{}customContext[0] + final fun (): kotlin/Any? // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.customContext.|(){}[0] + final val interaction // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.interaction|{}interaction[0] + final fun (): dev.kord.core.entity.interaction/GuildPrimaryEntryPointCommandInteraction // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.interaction.|(){}[0] + final val kord // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.kord|{}kord[0] + final fun (): dev.kord.core/Kord // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.kord.|(){}[0] + final val shard // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.shard|{}shard[0] + final fun (): kotlin/Int // dev.kord.core.event.interaction/GuildPrimaryEntryPointCommandInteractionCreateEvent.shard.|(){}[0] +} + final class dev.kord.core.event.interaction/GuildSelectMenuInteractionCreateEvent : dev.kord.core.event.interaction/GuildComponentInteractionCreateEvent, dev.kord.core.event.interaction/SelectMenuInteractionCreateEvent { // dev.kord.core.event.interaction/GuildSelectMenuInteractionCreateEvent|null[0] constructor (dev.kord.core.entity.interaction/GuildSelectMenuInteraction, dev.kord.core/Kord, kotlin/Int, kotlin/Any?) // dev.kord.core.event.interaction/GuildSelectMenuInteractionCreateEvent.|(dev.kord.core.entity.interaction.GuildSelectMenuInteraction;dev.kord.core.Kord;kotlin.Int;kotlin.Any?){}[0] @@ -11740,11 +11941,13 @@ final class dev.kord.core/Kord : kotlinx.coroutines/CoroutineScope { // dev.kord final suspend inline fun createGlobalApplicationCommands(kotlin/Function1): kotlinx.coroutines.flow/Flow // dev.kord.core/Kord.createGlobalApplicationCommands|createGlobalApplicationCommands(kotlin.Function1){}[0] final suspend inline fun createGlobalChatInputCommand(kotlin/String, kotlin/String, kotlin/Function1 = ...): dev.kord.core.entity.application/GlobalChatInputCommand // dev.kord.core/Kord.createGlobalChatInputCommand|createGlobalChatInputCommand(kotlin.String;kotlin.String;kotlin.Function1){}[0] final suspend inline fun createGlobalMessageCommand(kotlin/String, kotlin/Function1 = ...): dev.kord.core.entity.application/GlobalMessageCommand // dev.kord.core/Kord.createGlobalMessageCommand|createGlobalMessageCommand(kotlin.String;kotlin.Function1){}[0] + final suspend inline fun createGlobalPrimaryEntryPointCommand(kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType, kotlin/Function1 = ...): dev.kord.core.entity.application/GlobalPrimaryEntryPointCommand // dev.kord.core/Kord.createGlobalPrimaryEntryPointCommand|createGlobalPrimaryEntryPointCommand(kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType;kotlin.Function1){}[0] final suspend inline fun createGlobalUserCommand(kotlin/String, kotlin/Function1 = ...): dev.kord.core.entity.application/GlobalUserCommand // dev.kord.core/Kord.createGlobalUserCommand|createGlobalUserCommand(kotlin.String;kotlin.Function1){}[0] final suspend inline fun createGuild(kotlin/String, kotlin/Function1): dev.kord.core.entity/Guild // dev.kord.core/Kord.createGuild|createGuild(kotlin.String;kotlin.Function1){}[0] final suspend inline fun createGuildApplicationCommands(dev.kord.common.entity/Snowflake, kotlin/Function1): kotlinx.coroutines.flow/Flow // dev.kord.core/Kord.createGuildApplicationCommands|createGuildApplicationCommands(dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun createGuildChatInputCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, kotlin/Function1 = ...): dev.kord.core.entity.application/GuildChatInputCommand // dev.kord.core/Kord.createGuildChatInputCommand|createGuildChatInputCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Function1){}[0] final suspend inline fun createGuildMessageCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1 = ...): dev.kord.core.entity.application/GuildMessageCommand // dev.kord.core/Kord.createGuildMessageCommand|createGuildMessageCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] + final suspend inline fun createGuildPrimaryEntryPointCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType, kotlin/Function1 = ...): dev.kord.core.entity.application/GuildPrimaryEntryPointCommand // dev.kord.core/Kord.createGuildPrimaryEntryPointCommand|createGuildPrimaryEntryPointCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType;kotlin.Function1){}[0] final suspend inline fun createGuildUserCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1 = ...): dev.kord.core.entity.application/GuildUserCommand // dev.kord.core/Kord.createGuildUserCommand|createGuildUserCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] final suspend inline fun editPresence(kotlin/Function1) // dev.kord.core/Kord.editPresence|editPresence(kotlin.Function1){}[0] final suspend inline fun login(kotlin/Function1 = ...) // dev.kord.core/Kord.login|login(kotlin.Function1){}[0] @@ -12104,8 +12307,6 @@ sealed class dev.kord.core.entity/BaseApplication : dev.kord.core.entity/KordEnt final fun (): kotlin/String // dev.kord.core.entity/BaseApplication.description.|(){}[0] final val flags // dev.kord.core.entity/BaseApplication.flags|{}flags[0] final fun (): dev.kord.common.entity/ApplicationFlags? // dev.kord.core.entity/BaseApplication.flags.|(){}[0] - final val guild // dev.kord.core.entity/BaseApplication.guild|{}guild[0] - final fun (): dev.kord.core.behavior/GuildBehavior? // dev.kord.core.entity/BaseApplication.guild.|(){}[0] final val guildId // dev.kord.core.entity/BaseApplication.guildId|{}guildId[0] final fun (): dev.kord.common.entity/Snowflake? // dev.kord.core.entity/BaseApplication.guildId.|(){}[0] final val icon // dev.kord.core.entity/BaseApplication.icon|{}icon[0] @@ -12142,6 +12343,8 @@ sealed class dev.kord.core.entity/BaseApplication : dev.kord.core.entity/KordEnt final fun (): kotlin/String? // dev.kord.core.entity/BaseApplication.termsOfServiceUrl.|(){}[0] final val verifyKey // dev.kord.core.entity/BaseApplication.verifyKey|{}verifyKey[0] final fun (): kotlin/String // dev.kord.core.entity/BaseApplication.verifyKey.|(){}[0] + open val guild // dev.kord.core.entity/BaseApplication.guild|{}guild[0] + open fun (): dev.kord.core.behavior/GuildBehavior? // dev.kord.core.entity/BaseApplication.guild.|(){}[0] abstract fun withStrategy(dev.kord.core.supplier/EntitySupplyStrategy<*>): dev.kord.core.entity/BaseApplication // dev.kord.core.entity/BaseApplication.withStrategy|withStrategy(dev.kord.core.supplier.EntitySupplyStrategy<*>){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.entity/BaseApplication.equals|equals(kotlin.Any?){}[0] diff --git a/core/live-tests/src/commonTest/kotlin/regression/CacheMissRegression.kt b/core/live-tests/src/commonTest/kotlin/regression/CacheMissRegression.kt index ae948c06fbb..e488d1559a0 100644 --- a/core/live-tests/src/commonTest/kotlin/regression/CacheMissRegression.kt +++ b/core/live-tests/src/commonTest/kotlin/regression/CacheMissRegression.kt @@ -18,8 +18,8 @@ import io.ktor.client.* import io.ktor.client.request.* import io.ktor.client.request.forms.* import io.ktor.client.statement.* -import io.ktor.content.* import io.ktor.http.* +import io.ktor.http.content.TextContent import kotlinx.coroutines.CompletableDeferred import kotlinx.coroutines.SupervisorJob import kotlinx.coroutines.flow.MutableSharedFlow diff --git a/core/src/commonMain/kotlin/Kord.kt b/core/src/commonMain/kotlin/Kord.kt index 71d4c3d6741..a03bbd63e76 100644 --- a/core/src/commonMain/kotlin/Kord.kt +++ b/core/src/commonMain/kotlin/Kord.kt @@ -4,6 +4,7 @@ import dev.kord.cache.api.DataCache import dev.kord.common.annotation.KordExperimental import dev.kord.common.annotation.KordUnsafe import dev.kord.common.entity.DiscordShard +import dev.kord.common.entity.PrimaryEntryPointCommandHandlerType import dev.kord.common.entity.Snowflake import dev.kord.common.exception.RequestException import dev.kord.core.builder.kord.KordBuilder @@ -645,6 +646,46 @@ public class Kord( return GuildUserCommand(data, rest.interaction) } + public suspend inline fun createGuildPrimaryEntryPointCommand( + guildId: Snowflake, + name: String, + description: String, + handler: PrimaryEntryPointCommandHandlerType, + builder: EntryPointCreateBuilder.() -> Unit = {}, + ): GuildPrimaryEntryPointCommand { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + val response = rest.interaction.createGuildPrimaryEntryPointCommand( + resources.applicationId, + guildId, + name, + description, + handler, + builder + ) + + val data = ApplicationCommandData.from(response) + return GuildPrimaryEntryPointCommand(data, rest.interaction) + } + + + public suspend inline fun createGlobalPrimaryEntryPointCommand( + name: String, + description: String, + handler: PrimaryEntryPointCommandHandlerType, + builder: EntryPointCreateBuilder.() -> Unit = {}, + ): GlobalPrimaryEntryPointCommand { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + val response = rest.interaction.createGlobalPrimaryEntryPointCommand( + resources.applicationId, + name, + description, + handler, + builder + ) + + val data = ApplicationCommandData.from(response) + return GlobalPrimaryEntryPointCommand(data, rest.interaction) + } public suspend inline fun createGuildApplicationCommands( guildId: Snowflake, diff --git a/core/src/commonMain/kotlin/behavior/EntryPointCommandBehaviors.kt b/core/src/commonMain/kotlin/behavior/EntryPointCommandBehaviors.kt new file mode 100644 index 00000000000..935b1632c74 --- /dev/null +++ b/core/src/commonMain/kotlin/behavior/EntryPointCommandBehaviors.kt @@ -0,0 +1,31 @@ +package dev.kord.core.behavior + +import dev.kord.core.cache.data.ApplicationCommandData +import dev.kord.core.entity.application.PrimaryEntryPointCommand +import dev.kord.core.entity.application.GlobalPrimaryEntryPointCommand +import dev.kord.core.entity.application.GuildPrimaryEntryPointCommand +import dev.kord.rest.builder.interaction.EntryPointModifyBuilder + +public interface EntryPointCommandBehavior : ApplicationCommandBehavior { + public suspend fun edit(builder: suspend EntryPointModifyBuilder.() -> Unit): PrimaryEntryPointCommand +} + +public interface GuildEntryPointCommandBehavior : EntryPointCommandBehavior, GuildApplicationCommandBehavior { + override suspend fun edit(builder: suspend EntryPointModifyBuilder.() -> Unit): GuildPrimaryEntryPointCommand { + val response = service.modifyGuildPrimaryEntryPointApplicationCommand(applicationId, guildId, id) { + builder() + } + val data = ApplicationCommandData.from(response) + return GuildPrimaryEntryPointCommand(data, service) + } +} + +public interface GlobalEntryPointCommandBehavior : EntryPointCommandBehavior, GlobalApplicationCommandBehavior { + override suspend fun edit(builder: suspend EntryPointModifyBuilder.() -> Unit): GlobalPrimaryEntryPointCommand { + val response = service.modifyGlobalPrimaryEntryPointApplicationCommand(applicationId, id) { + builder() + } + val data = ApplicationCommandData.from(response) + return GlobalPrimaryEntryPointCommand(data, service) + } +} diff --git a/core/src/commonMain/kotlin/behavior/GuildEmojiBehavior.kt b/core/src/commonMain/kotlin/behavior/GuildEmojiBehavior.kt index d71f3aa431b..95b400432d2 100644 --- a/core/src/commonMain/kotlin/behavior/GuildEmojiBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/GuildEmojiBehavior.kt @@ -3,8 +3,8 @@ package dev.kord.core.behavior import dev.kord.common.entity.Snowflake import dev.kord.core.Kord import dev.kord.core.cache.data.EmojiData -import dev.kord.core.entity.KordEntity import dev.kord.core.entity.GuildEmoji +import dev.kord.core.entity.KordEntity import dev.kord.core.entity.Strategizable import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier diff --git a/core/src/commonMain/kotlin/behavior/MessageBehavior.kt b/core/src/commonMain/kotlin/behavior/MessageBehavior.kt index fbf1b2e01ce..7515e22b925 100644 --- a/core/src/commonMain/kotlin/behavior/MessageBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/MessageBehavior.kt @@ -1,6 +1,5 @@ package dev.kord.core.behavior -import dev.kord.common.entity.Permission import dev.kord.common.entity.Snowflake import dev.kord.common.exception.RequestException import dev.kord.core.Kord @@ -10,6 +9,7 @@ import dev.kord.core.cache.data.MessageData import dev.kord.core.entity.* import dev.kord.core.entity.channel.MessageChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.core.supplier.getChannelOf @@ -20,7 +20,6 @@ import dev.kord.rest.builder.message.modify.WebhookMessageModifyBuilder import dev.kord.rest.request.RestRequestException import dev.kord.rest.service.RestClient import kotlinx.coroutines.flow.Flow -import dev.kord.core.hash import kotlin.contracts.InvocationKind import kotlin.contracts.contract diff --git a/core/src/commonMain/kotlin/behavior/TemplateBehavior.kt b/core/src/commonMain/kotlin/behavior/TemplateBehavior.kt index 7ed3674b675..5a501f912cb 100644 --- a/core/src/commonMain/kotlin/behavior/TemplateBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/TemplateBehavior.kt @@ -6,9 +6,9 @@ import dev.kord.core.KordObject import dev.kord.core.cache.data.toData import dev.kord.core.entity.Guild import dev.kord.core.entity.Template +import dev.kord.core.hash import dev.kord.rest.builder.template.GuildFromTemplateCreateBuilder import dev.kord.rest.builder.template.GuildTemplateModifyBuilder -import dev.kord.core.hash import kotlin.contracts.InvocationKind import kotlin.contracts.contract diff --git a/core/src/commonMain/kotlin/behavior/UserBehavior.kt b/core/src/commonMain/kotlin/behavior/UserBehavior.kt index 2d4e406d8cc..ebf3c79729a 100644 --- a/core/src/commonMain/kotlin/behavior/UserBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/UserBehavior.kt @@ -8,6 +8,7 @@ import dev.kord.core.entity.* import dev.kord.core.entity.channel.Channel import dev.kord.core.entity.channel.DmChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.rest.json.JsonErrorCode @@ -15,7 +16,6 @@ import dev.kord.rest.json.request.DMCreateRequest import dev.kord.rest.request.RestRequestException import dev.kord.rest.service.RestClient import io.ktor.http.* -import dev.kord.core.hash /** * The behavior of a [Discord User](https://discord.com/developers/docs/resources/user) diff --git a/core/src/commonMain/kotlin/behavior/WebhookBehavior.kt b/core/src/commonMain/kotlin/behavior/WebhookBehavior.kt index 9fae71abca0..6e87872b2f9 100644 --- a/core/src/commonMain/kotlin/behavior/WebhookBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/WebhookBehavior.kt @@ -10,12 +10,12 @@ import dev.kord.core.entity.Message import dev.kord.core.entity.Strategizable import dev.kord.core.entity.Webhook import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.rest.builder.message.create.WebhookMessageCreateBuilder import dev.kord.rest.builder.webhook.WebhookModifyBuilder import dev.kord.rest.request.RestRequestException -import dev.kord.core.hash import kotlin.contracts.InvocationKind import kotlin.contracts.contract diff --git a/core/src/commonMain/kotlin/behavior/channel/CategorizableChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/CategorizableChannelBehavior.kt index 9b1f843ca23..c5f8d3a0f5c 100644 --- a/core/src/commonMain/kotlin/behavior/channel/CategorizableChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/CategorizableChannelBehavior.kt @@ -9,6 +9,7 @@ import dev.kord.core.entity.InviteWithMetadata import dev.kord.core.entity.Webhook import dev.kord.core.entity.channel.CategorizableChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.rest.builder.channel.InviteCreateBuilder @@ -17,7 +18,6 @@ import dev.kord.rest.request.RestRequestException import dev.kord.rest.service.RestClient import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow -import dev.kord.core.hash import kotlin.contracts.InvocationKind import kotlin.contracts.contract diff --git a/core/src/commonMain/kotlin/behavior/channel/ChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/ChannelBehavior.kt index 5408d3bffc4..16a457a2693 100644 --- a/core/src/commonMain/kotlin/behavior/channel/ChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/ChannelBehavior.kt @@ -7,12 +7,12 @@ import dev.kord.core.entity.KordEntity import dev.kord.core.entity.Strategizable import dev.kord.core.entity.channel.Channel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.core.supplier.getChannelOf import dev.kord.core.supplier.getChannelOfOrNull import dev.kord.rest.request.RestRequestException -import dev.kord.core.hash /** * The behavior of a [Discord Channel](https://discord.com/developers/docs/resources/channel) diff --git a/core/src/commonMain/kotlin/behavior/channel/GuildChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/GuildChannelBehavior.kt index 63640b2ad49..3054da51ef8 100644 --- a/core/src/commonMain/kotlin/behavior/channel/GuildChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/GuildChannelBehavior.kt @@ -10,9 +10,9 @@ import dev.kord.core.entity.Strategizable import dev.kord.core.entity.channel.GuildChannel import dev.kord.core.entity.channel.TopGuildChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.hash /** * The behavior of a Discord channel associated to a [guild]. diff --git a/core/src/commonMain/kotlin/behavior/channel/MessageChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/MessageChannelBehavior.kt index 99d36695c8f..2a29560d215 100644 --- a/core/src/commonMain/kotlin/behavior/channel/MessageChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/MessageChannelBehavior.kt @@ -12,7 +12,6 @@ import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.rest.builder.message.EmbedBuilder -import dev.kord.rest.builder.message.create.MessageCreateBuilder import dev.kord.rest.builder.message.create.UserMessageCreateBuilder import dev.kord.rest.builder.message.embed import dev.kord.rest.request.RestRequestException diff --git a/core/src/commonMain/kotlin/behavior/channel/NewsChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/NewsChannelBehavior.kt index 800896a6058..a80f1fdae8f 100644 --- a/core/src/commonMain/kotlin/behavior/channel/NewsChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/NewsChannelBehavior.kt @@ -1,7 +1,6 @@ package dev.kord.core.behavior.channel import dev.kord.common.entity.ChannelType -import dev.kord.common.entity.Permission import dev.kord.common.entity.Snowflake import dev.kord.common.exception.RequestException import dev.kord.core.Kord diff --git a/core/src/commonMain/kotlin/behavior/channel/TopGuildChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/TopGuildChannelBehavior.kt index ed93a4edbe7..5587f8430a2 100644 --- a/core/src/commonMain/kotlin/behavior/channel/TopGuildChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/TopGuildChannelBehavior.kt @@ -6,6 +6,7 @@ import dev.kord.core.Kord import dev.kord.core.entity.PermissionOverwrite import dev.kord.core.entity.channel.TopGuildChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.rest.builder.channel.ChannelPermissionModifyBuilder @@ -14,7 +15,6 @@ import dev.kord.rest.service.editMemberPermissions import dev.kord.rest.service.editRolePermission import kotlinx.coroutines.flow.first import kotlinx.coroutines.flow.withIndex -import dev.kord.core.hash import kotlin.contracts.InvocationKind import kotlin.contracts.contract diff --git a/core/src/commonMain/kotlin/behavior/channel/VoiceChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/VoiceChannelBehavior.kt index 0c1b1ed4874..6b98b0ed0d4 100644 --- a/core/src/commonMain/kotlin/behavior/channel/VoiceChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/VoiceChannelBehavior.kt @@ -7,12 +7,12 @@ import dev.kord.core.cache.data.ChannelData import dev.kord.core.entity.channel.Channel import dev.kord.core.entity.channel.VoiceChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.rest.builder.channel.VoiceChannelModifyBuilder import dev.kord.rest.request.RestRequestException import dev.kord.rest.service.patchVoiceChannel -import dev.kord.core.hash import kotlin.contracts.InvocationKind import kotlin.contracts.contract diff --git a/core/src/commonMain/kotlin/behavior/channel/threads/ThreadParentChannelBehavior.kt b/core/src/commonMain/kotlin/behavior/channel/threads/ThreadParentChannelBehavior.kt index dfe282de4f0..a686c6dd8e8 100644 --- a/core/src/commonMain/kotlin/behavior/channel/threads/ThreadParentChannelBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/channel/threads/ThreadParentChannelBehavior.kt @@ -12,14 +12,14 @@ import dev.kord.core.entity.channel.Channel import dev.kord.core.entity.channel.ThreadParentChannel import dev.kord.core.entity.channel.thread.ThreadChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.rest.builder.channel.thread.StartThreadWithMessageBuilder import dev.kord.rest.builder.channel.thread.StartThreadBuilder +import dev.kord.rest.builder.channel.thread.StartThreadWithMessageBuilder import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.filter import kotlinx.datetime.Instant -import dev.kord.core.hash /** * Behavior of channels that can contain public threads. diff --git a/core/src/commonMain/kotlin/behavior/interaction/ActionInteractionBehavior.kt b/core/src/commonMain/kotlin/behavior/interaction/ActionInteractionBehavior.kt index 7824364035b..29b475ff0db 100644 --- a/core/src/commonMain/kotlin/behavior/interaction/ActionInteractionBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/interaction/ActionInteractionBehavior.kt @@ -1,7 +1,7 @@ package dev.kord.core.behavior.interaction import dev.kord.common.annotation.KordUnsafe -import dev.kord.common.entity.MessageFlag +import dev.kord.common.entity.InteractionResponseType import dev.kord.common.entity.Snowflake import dev.kord.core.Kord import dev.kord.core.behavior.interaction.response.* @@ -13,6 +13,7 @@ import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.core.supplier.EntitySupplyStrategy.Companion.rest import dev.kord.rest.builder.message.create.InteractionResponseCreateBuilder +import dev.kord.rest.json.request.InteractionResponseCreateRequest import dev.kord.rest.request.RestRequestException import kotlin.contracts.InvocationKind import kotlin.contracts.contract @@ -84,6 +85,18 @@ public interface ActionInteractionBehavior : InteractionBehavior { return DeferredPublicMessageInteractionResponseBehavior(applicationId, token, kord) } + /** + * Opens the [Activity](https://discord.com/developers/docs/activities/overview) of this application. + * + * **Note:** This requires activities to be enabled for this application + */ + public suspend fun openActivity() { + kord.rest.interaction.createInteractionResponse( + id, token, + InteractionResponseCreateRequest(InteractionResponseType.LaunchActivity) + ) + } + /** * Returns the initial interaction response or `null` if it was not found. * diff --git a/core/src/commonMain/kotlin/behavior/interaction/ComponentInteractionBehavior.kt b/core/src/commonMain/kotlin/behavior/interaction/ComponentInteractionBehavior.kt index d85521d6b84..2858e5dcc98 100644 --- a/core/src/commonMain/kotlin/behavior/interaction/ComponentInteractionBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/interaction/ComponentInteractionBehavior.kt @@ -1,6 +1,5 @@ package dev.kord.core.behavior.interaction -import dev.kord.common.entity.MessageFlag import dev.kord.common.entity.Snowflake import dev.kord.core.Kord import dev.kord.core.behavior.interaction.response.EphemeralMessageInteractionResponseBehavior diff --git a/core/src/commonMain/kotlin/behavior/interaction/response/DeferredEphemeralMessageInteractionBehavior.kt b/core/src/commonMain/kotlin/behavior/interaction/response/DeferredEphemeralMessageInteractionBehavior.kt index 2a6526c2071..018fce5b516 100644 --- a/core/src/commonMain/kotlin/behavior/interaction/response/DeferredEphemeralMessageInteractionBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/interaction/response/DeferredEphemeralMessageInteractionBehavior.kt @@ -1,6 +1,5 @@ package dev.kord.core.behavior.interaction.response -import dev.kord.common.entity.MessageFlag import dev.kord.common.entity.Snowflake import dev.kord.core.Kord import dev.kord.core.behavior.interaction.ActionInteractionBehavior diff --git a/core/src/commonMain/kotlin/behavior/interaction/response/EphemeralMessageInteractionResponseBehavior.kt b/core/src/commonMain/kotlin/behavior/interaction/response/EphemeralMessageInteractionResponseBehavior.kt index 70910b25718..c96b038238e 100644 --- a/core/src/commonMain/kotlin/behavior/interaction/response/EphemeralMessageInteractionResponseBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/interaction/response/EphemeralMessageInteractionResponseBehavior.kt @@ -1,6 +1,5 @@ package dev.kord.core.behavior.interaction.response -import dev.kord.common.entity.MessageFlag import dev.kord.common.entity.Snowflake import dev.kord.core.Kord import dev.kord.core.behavior.interaction.* diff --git a/core/src/commonMain/kotlin/behavior/interaction/response/FollowupPermittingInteractionResponseBehavior.kt b/core/src/commonMain/kotlin/behavior/interaction/response/FollowupPermittingInteractionResponseBehavior.kt index 50630cc4add..31481a20bfd 100644 --- a/core/src/commonMain/kotlin/behavior/interaction/response/FollowupPermittingInteractionResponseBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/interaction/response/FollowupPermittingInteractionResponseBehavior.kt @@ -1,6 +1,5 @@ package dev.kord.core.behavior.interaction.response -import dev.kord.common.entity.MessageFlag import dev.kord.common.entity.Snowflake import dev.kord.core.Kord import dev.kord.core.behavior.interaction.InteractionBehavior diff --git a/core/src/commonMain/kotlin/behavior/interaction/response/InteractionResponseBehavior.kt b/core/src/commonMain/kotlin/behavior/interaction/response/InteractionResponseBehavior.kt index cea8e6d296f..bba5dc06055 100644 --- a/core/src/commonMain/kotlin/behavior/interaction/response/InteractionResponseBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/interaction/response/InteractionResponseBehavior.kt @@ -1,5 +1,6 @@ package dev.kord.core.behavior.interaction.response +import dev.kord.common.entity.InteractionResponseType import dev.kord.common.entity.Snowflake import dev.kord.core.KordObject import dev.kord.core.entity.Strategizable @@ -7,6 +8,7 @@ import dev.kord.core.entity.interaction.Interaction import dev.kord.core.entity.interaction.followup.FollowupMessage import dev.kord.core.exception.EntityNotFoundException import dev.kord.core.supplier.EntitySupplyStrategy +import dev.kord.rest.json.request.InteractionResponseCreateRequest import dev.kord.rest.request.RestRequestException /** diff --git a/core/src/commonMain/kotlin/builder/kord/KordProxyBuilder.kt b/core/src/commonMain/kotlin/builder/kord/KordProxyBuilder.kt index 6550afca39a..387a7c7afec 100644 --- a/core/src/commonMain/kotlin/builder/kord/KordProxyBuilder.kt +++ b/core/src/commonMain/kotlin/builder/kord/KordProxyBuilder.kt @@ -2,7 +2,6 @@ package dev.kord.core.builder.kord import dev.kord.common.annotation.KordExperimental import dev.kord.common.entity.Snowflake -import dev.kord.core.Kord /** * The proxy Kord builder. You probably want to invoke the [DSL builder][Kord.proxy] instead. diff --git a/core/src/commonMain/kotlin/builder/kord/KordRestOnlyBuilder.kt b/core/src/commonMain/kotlin/builder/kord/KordRestOnlyBuilder.kt index 2a03847e162..06a1bce9789 100644 --- a/core/src/commonMain/kotlin/builder/kord/KordRestOnlyBuilder.kt +++ b/core/src/commonMain/kotlin/builder/kord/KordRestOnlyBuilder.kt @@ -2,7 +2,6 @@ package dev.kord.core.builder.kord import dev.kord.common.annotation.KordExperimental import dev.kord.common.entity.Snowflake -import dev.kord.core.Kord /** * The rest only Kord builder. You probably want to invoke the [DSL builder][Kord.restOnly] instead. diff --git a/core/src/commonMain/kotlin/cache/data/ApplicationData.kt b/core/src/commonMain/kotlin/cache/data/ApplicationData.kt index 8510247e18d..367134c2fbc 100644 --- a/core/src/commonMain/kotlin/cache/data/ApplicationData.kt +++ b/core/src/commonMain/kotlin/cache/data/ApplicationData.kt @@ -3,6 +3,7 @@ package dev.kord.core.cache.data import dev.kord.common.entity.* import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalSnowflake +import dev.kord.common.entity.optional.map import dev.kord.common.entity.optional.mapSnowflake import kotlinx.serialization.Serializable @@ -36,18 +37,21 @@ public data class ApplicationData( override val rpcOrigins: Optional> = Optional.Missing(), val botPublic: Boolean, val botRequireCodeGrant: Boolean, + val bot: Optional = Optional.Missing(), override val termsOfServiceUrl: Optional = Optional.Missing(), override val privacyPolicyUrl: Optional = Optional.Missing(), override val ownerId: OptionalSnowflake = OptionalSnowflake.Missing, override val verifyKey: String, val team: TeamData?, override val guildId: OptionalSnowflake = OptionalSnowflake.Missing, + val guild: Optional = Optional.Missing(), override val primarySkuId: OptionalSnowflake = OptionalSnowflake.Missing, override val slug: Optional = Optional.Missing(), override val coverImage: Optional = Optional.Missing(), override val flags: Optional = Optional.Missing(), override val tags: Optional> = Optional.Missing(), override val installParams: Optional = Optional.Missing(), + val integrationTypesConfig: Optional> = Optional.Missing(), override val customInstallUrl: Optional = Optional.Missing(), override val roleConnectionsVerificationUrl: Optional = Optional.Missing(), ) : BaseApplicationData { @@ -62,18 +66,21 @@ public data class ApplicationData( rpcOrigins, botPublic, botRequireCodeGrant, + bot.map { UserData.from(it) }, termsOfServiceUrl, privacyPolicyUrl, owner.mapSnowflake { it.id }, verifyKey, team?.let { TeamData.from(it) }, guildId, + guild.map { PartialGuildData.from(it) }, primarySkuId, slug, coverImage, flags, tags, installParams, + integrationTypesConfig, customInstallUrl, roleConnectionsVerificationUrl, ) diff --git a/core/src/commonMain/kotlin/cache/data/IntegrationData.kt b/core/src/commonMain/kotlin/cache/data/IntegrationData.kt index c3d43c10414..f9041a7cc77 100644 --- a/core/src/commonMain/kotlin/cache/data/IntegrationData.kt +++ b/core/src/commonMain/kotlin/cache/data/IntegrationData.kt @@ -16,7 +16,6 @@ public data class IntegrationData( val name: String, val type: String, val enabled: Boolean, - val syncing: OptionalBoolean = OptionalBoolean.Missing, val roleId: OptionalSnowflake = OptionalSnowflake.Missing, val enableEmoticons: OptionalBoolean = OptionalBoolean.Missing, val expireBehavior: Optional = Optional.Missing(), @@ -38,7 +37,6 @@ public data class IntegrationData( name, type, enabled, - syncing, roleId, enableEmoticons, expireBehavior, diff --git a/core/src/commonMain/kotlin/cache/data/InteractionData.kt b/core/src/commonMain/kotlin/cache/data/InteractionData.kt index 9c224fe313b..4dbffafebe7 100644 --- a/core/src/commonMain/kotlin/cache/data/InteractionData.kt +++ b/core/src/commonMain/kotlin/cache/data/InteractionData.kt @@ -26,9 +26,11 @@ public data class InteractionData( val permissions: Optional = Optional.Missing(), val version: Int, val message: Optional = Optional.Missing(), - val appPermissions: Optional = Optional.Missing(), + val appPermissions: Permissions, val locale: Optional = Optional.Missing(), val guildLocale: Optional = Optional.Missing(), + val authorizingIntegrationOwners: Map, + val context: Optional = Optional.Missing(), val entitlements: Optional> = Optional.Missing(), ) { public companion object { @@ -54,6 +56,8 @@ public data class InteractionData( appPermissions, locale, guildLocale, + authorizingIntegrationOwners, + context, entitlements.mapList { EntitlementData.from(it) }, ) } diff --git a/core/src/commonMain/kotlin/cache/data/MessageData.kt b/core/src/commonMain/kotlin/cache/data/MessageData.kt index 6883ae3d39a..94896349022 100644 --- a/core/src/commonMain/kotlin/cache/data/MessageData.kt +++ b/core/src/commonMain/kotlin/cache/data/MessageData.kt @@ -35,6 +35,8 @@ public data class MessageData( val flags: Optional = Optional.Missing(), val stickers: Optional> = Optional.Missing(), val referencedMessage: Optional = Optional.Missing(), + val interactionMetadata: Optional = Optional.Missing(), + @Deprecated("Deprecated in favor of interactionMetadata", ReplaceWith("interactionMetadata")) val interaction: Optional = Optional.Missing(), val components: Optional> = Optional.Missing(), val roleSubscriptionData: Optional = Optional.Missing(), @@ -75,8 +77,13 @@ public data class MessageData( .coerceToMissing() val stickers = partialMessage.stickers.mapList { StickerItemData.from(it) }.switchOnMissing(this.stickers) val referencedMessage = partialMessage.referencedMessage.mapNullable { it?.toData() ?: referencedMessage.value } + + @Suppress("DEPRECATION") val interaction = partialMessage.interaction.map { MessageInteractionData.from(it) }.switchOnMissing(interaction) + val interactionMetadata = + partialMessage.interactionMetadata.map { InteractionMetadataData.from(it) } + .switchOnMissing(interactionMetadata) return MessageData( id, @@ -106,6 +113,7 @@ public data class MessageData( stickers = stickers, referencedMessage = referencedMessage, interaction = interaction, + interactionMetadata = interactionMetadata, components = components, roleSubscriptionData = roleSubscriptionData, position = position, @@ -116,6 +124,7 @@ public data class MessageData( public val description: DataDescription = description(MessageData::id) public fun from(entity: DiscordMessage): MessageData = with(entity) { + @Suppress("DEPRECATION") MessageData( id, channelId, @@ -143,6 +152,7 @@ public data class MessageData( flags, stickers.mapList { StickerItemData.from(it) }, referencedMessage.mapNotNull { from(it) }, + interactionMetadata.map { InteractionMetadataData.from(it) }, interaction.map { MessageInteractionData.from(it) }, components = components.mapList { ComponentData.from(it) }, roleSubscriptionData = roleSubscriptionData, diff --git a/core/src/commonMain/kotlin/cache/data/MessageInteractionData.kt b/core/src/commonMain/kotlin/cache/data/MessageInteractionData.kt index 2b5e3a29b86..21be6e0fb60 100644 --- a/core/src/commonMain/kotlin/cache/data/MessageInteractionData.kt +++ b/core/src/commonMain/kotlin/cache/data/MessageInteractionData.kt @@ -1,8 +1,13 @@ package dev.kord.core.cache.data +import dev.kord.common.entity.DiscordInteractionMetadata import dev.kord.common.entity.DiscordMessageInteraction +import dev.kord.common.entity.IntegrationOwners import dev.kord.common.entity.InteractionType import dev.kord.common.entity.Snowflake +import dev.kord.common.entity.optional.Optional +import dev.kord.common.entity.optional.Optional.Missing.Companion.invoke +import dev.kord.common.entity.optional.OptionalSnowflake import kotlinx.serialization.Serializable @Serializable @@ -18,3 +23,28 @@ public data class MessageInteractionData( } } } + +@Serializable +public data class InteractionMetadataData( + val id: Snowflake, + val type: InteractionType, + val user: UserData, + val authorizingIntegrationOwners: IntegrationOwners, + val originalResponseMessageId: OptionalSnowflake = OptionalSnowflake.Missing, + val interactedMessageId: OptionalSnowflake = OptionalSnowflake.Missing, + val triggeringInteractionMetadata: Optional = Optional.Missing() +) { + public companion object { + public fun from(entity: DiscordInteractionMetadata): InteractionMetadataData = with(entity) { + InteractionMetadataData( + id, + type, + UserData.from(entity.user), + authorizingIntegrationOwners, + originalResponseMessageId, + interactedMessageId, + triggeringInteractionMetadata + ) + } + } +} diff --git a/core/src/commonMain/kotlin/cache/data/PermissionOverwriteData.kt b/core/src/commonMain/kotlin/cache/data/PermissionOverwriteData.kt index ca4870e50eb..68aa381ba7c 100644 --- a/core/src/commonMain/kotlin/cache/data/PermissionOverwriteData.kt +++ b/core/src/commonMain/kotlin/cache/data/PermissionOverwriteData.kt @@ -1,7 +1,7 @@ package dev.kord.core.cache.data -import dev.kord.common.entity.Overwrite import dev.kord.common.entity.* +import dev.kord.common.entity.Overwrite import kotlinx.serialization.Serializable @Serializable diff --git a/core/src/commonMain/kotlin/entity/Application.kt b/core/src/commonMain/kotlin/entity/Application.kt index 7bbbc522aa8..c115034fd83 100644 --- a/core/src/commonMain/kotlin/entity/Application.kt +++ b/core/src/commonMain/kotlin/entity/Application.kt @@ -1,9 +1,12 @@ package dev.kord.core.entity import dev.kord.common.entity.ApplicationFlags +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.ApplicationIntegrationTypeConfig import dev.kord.common.entity.InstallParams import dev.kord.common.entity.Snowflake import dev.kord.common.entity.optional.orEmpty +import dev.kord.common.entity.optional.unwrap import dev.kord.core.Kord import dev.kord.core.behavior.GuildBehavior import dev.kord.core.behavior.UserBehavior @@ -11,9 +14,9 @@ import dev.kord.core.cache.data.ApplicationData import dev.kord.core.cache.data.BaseApplicationData import dev.kord.core.cache.data.PartialApplicationData import dev.kord.core.event.guild.InviteCreateEvent +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.hash public sealed class BaseApplication( final override val kord: Kord, @@ -48,7 +51,7 @@ public sealed class BaseApplication( public val guildId: Snowflake? get() = data.guildId.value - public val guild: GuildBehavior? get() = guildId?.let { GuildBehavior(it, kord) } + public open val guild: GuildBehavior? get() = guildId?.let { GuildBehavior(it, kord) } public val primarySkuId: Snowflake? get() = data.primarySkuId.value @@ -108,6 +111,12 @@ public class Application( public val team: Team? get() = data.team?.let { Team(it, kord) } + public val bot: User? get() = data.bot.unwrap { User(it, kord, supplier) } + + public override val guild: PartialGuild? get() = data.guild.unwrap { PartialGuild(it, kord, supplier) } + + public val integrationTypesConfig: Map? get() = data.integrationTypesConfig.value + /** * Returns a new [Application] with the given [strategy]. */ diff --git a/core/src/commonMain/kotlin/entity/Emoji.kt b/core/src/commonMain/kotlin/entity/Emoji.kt index fe8b21eeb95..dc158b19a52 100644 --- a/core/src/commonMain/kotlin/entity/Emoji.kt +++ b/core/src/commonMain/kotlin/entity/Emoji.kt @@ -8,13 +8,13 @@ import dev.kord.core.behavior.MemberBehavior import dev.kord.core.behavior.RoleBehavior import dev.kord.core.behavior.UserBehavior import dev.kord.core.cache.data.EmojiData +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.rest.builder.guild.EmojiModifyBuilder import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.emptyFlow import kotlinx.coroutines.flow.filter -import dev.kord.core.hash import kotlin.contracts.InvocationKind import kotlin.contracts.contract diff --git a/core/src/commonMain/kotlin/entity/Integration.kt b/core/src/commonMain/kotlin/entity/Integration.kt index 3eef0926bf8..ef114fa36e9 100644 --- a/core/src/commonMain/kotlin/entity/Integration.kt +++ b/core/src/commonMain/kotlin/entity/Integration.kt @@ -2,7 +2,6 @@ package dev.kord.core.entity import dev.kord.common.entity.IntegrationExpireBehavior import dev.kord.common.entity.Snowflake -import dev.kord.common.entity.optional.value import dev.kord.common.exception.RequestException import dev.kord.core.Kord import dev.kord.core.behavior.GuildBehavior @@ -50,12 +49,6 @@ public class Integration( public val isEnabled: Boolean get() = data.enabled - /** - * Whether this integrations is syncing. - */ - public val isSyncing: Boolean? - get() = data.syncing.value - /** * The id of the [guild][Guild] this integration is tied to. */ diff --git a/core/src/commonMain/kotlin/entity/Member.kt b/core/src/commonMain/kotlin/entity/Member.kt index a37683931c2..2d1a4666807 100644 --- a/core/src/commonMain/kotlin/entity/Member.kt +++ b/core/src/commonMain/kotlin/entity/Member.kt @@ -12,11 +12,11 @@ import dev.kord.core.behavior.UserBehavior import dev.kord.core.cache.data.MemberData import dev.kord.core.cache.data.UserData import dev.kord.core.entity.interaction.GuildInteraction +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import kotlinx.coroutines.flow.* import kotlinx.datetime.Instant -import dev.kord.core.hash /** * An instance of a [Discord Member](https://discord.com/developers/docs/resources/guild#guild-member-object). diff --git a/core/src/commonMain/kotlin/entity/Message.kt b/core/src/commonMain/kotlin/entity/Message.kt index 3669a148878..1d5bd653462 100644 --- a/core/src/commonMain/kotlin/entity/Message.kt +++ b/core/src/commonMain/kotlin/entity/Message.kt @@ -12,6 +12,7 @@ import dev.kord.core.behavior.MessageBehavior import dev.kord.core.behavior.UserBehavior import dev.kord.core.behavior.channel.ChannelBehavior import dev.kord.core.behavior.interaction.response.InteractionResponseBehavior +import dev.kord.core.cache.data.InteractionMetadataData import dev.kord.core.cache.data.MessageData import dev.kord.core.cache.data.MessageInteractionData import dev.kord.core.entity.application.ApplicationCommand @@ -23,13 +24,13 @@ import dev.kord.core.entity.component.ActionRowComponent import dev.kord.core.entity.interaction.ActionInteraction import dev.kord.core.entity.interaction.followup.FollowupMessage import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.core.supplier.getChannelOf import dev.kord.core.supplier.getChannelOfOrNull import kotlinx.coroutines.flow.* import kotlinx.datetime.Instant -import dev.kord.core.hash /** * An instance of a [Discord Message][https://discord.com/developers/docs/resources/channel#message-object]. @@ -40,11 +41,33 @@ public class Message( override val supplier: EntitySupplier = kord.defaultSupplier, ) : MessageBehavior { + /** + * An instance of [InteractionMetadata](https://discord.com/developers/docs/resources/message#message-interaction-metadata-object) + */ + public class InteractionMetadata( + public val data: InteractionMetadataData, + override val kord: Kord, + override val supplier: EntitySupplier = kord.defaultSupplier, + ) : KordEntity, Strategizable { + override val id: Snowflake get() = data.id + public val type: InteractionType get() = data.type + public val user: User get() = User(data.user, kord, supplier) + + public val authorizingIntegrationOwners: IntegrationOwners get() = data.authorizingIntegrationOwners + public val originalResponseMessageId: Snowflake? get() = data.originalResponseMessageId.value + public val interactedMessageId: Snowflake? get() = data.interactedMessageId.value + public val triggeringInteractionMetadata: DiscordInteractionMetadata? get() = data.triggeringInteractionMetadata.value + + override fun withStrategy(strategy: EntitySupplyStrategy<*>): Strategizable = + InteractionMetadata(data, kord, strategy.supply(kord)) + } + /** * An instance of [MessageInteraction](https://discord.com/developers/docs/interactions/receiving-and-responding#message-interaction-object) * * This is sent on the [Message] object when the message is a response to an [ActionInteraction]. */ + @Deprecated("Deprecated in favor of InteractionMetadata") public class Interaction( public val data: MessageInteractionData, override val kord: Kord, @@ -82,6 +105,7 @@ public class Message( */ public suspend fun getUserOrNull(): User? = supplier.getUserOrNull(user.id) + @Suppress("DEPRECATION") override fun withStrategy(strategy: EntitySupplyStrategy<*>): Interaction = Interaction(data, kord, strategy.supply(kord)) } @@ -181,7 +205,13 @@ public class Message( * so its state is unknown. * If the field exists but is null, the referenced message was deleted. */ - public val messageReference: MessageReference? get() = data.messageReference.value?.let { MessageReference(it, kord) } + public val messageReference: MessageReference? + get() = data.messageReference.value?.let { + MessageReference( + it, + kord + ) + } /** * The [Channels][Channel] specifically mentioned in this message. @@ -238,8 +268,16 @@ public class Message( /** * The [Message.Interaction] sent on this message object when it is a response to an [ActionInteraction]. */ + @Deprecated("Deprecated in favor of interactionMetadata", ReplaceWith("interactionMetadata")) + @Suppress("DEPRECATION") public val interaction: Interaction? get() = data.interaction.mapNullable { Interaction(it, kord) }.value + /** + * The [Message.Interaction] sent on this message object when it is a response to an [ActionInteraction]. + */ + public val interactionMetadata: InteractionMetadata? + get() = data.interactionMetadata.mapNullable { InteractionMetadata(it, kord) }.value + /** * The [users][User] mentioned in this message. * diff --git a/core/src/commonMain/kotlin/entity/Role.kt b/core/src/commonMain/kotlin/entity/Role.kt index 7ba49e4d513..62141e86ad8 100644 --- a/core/src/commonMain/kotlin/entity/Role.kt +++ b/core/src/commonMain/kotlin/entity/Role.kt @@ -8,9 +8,9 @@ import dev.kord.common.entity.optional.unwrap import dev.kord.core.Kord import dev.kord.core.behavior.RoleBehavior import dev.kord.core.cache.data.RoleData +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.hash public data class Role( val data: RoleData, diff --git a/core/src/commonMain/kotlin/entity/RoleTags.kt b/core/src/commonMain/kotlin/entity/RoleTags.kt index 42f88fd2465..fa1b6da8341 100644 --- a/core/src/commonMain/kotlin/entity/RoleTags.kt +++ b/core/src/commonMain/kotlin/entity/RoleTags.kt @@ -1,14 +1,14 @@ package dev.kord.core.entity import dev.kord.common.entity.Snowflake +import dev.kord.common.exception.RequestException import dev.kord.core.Kord import dev.kord.core.KordObject import dev.kord.core.behavior.GuildBehavior import dev.kord.core.cache.data.IntegrationData import dev.kord.core.cache.data.RoleTagsData -import dev.kord.core.supplier.EntitySupplier -import dev.kord.common.exception.RequestException import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy public class RoleTags( diff --git a/core/src/commonMain/kotlin/entity/VoiceState.kt b/core/src/commonMain/kotlin/entity/VoiceState.kt index 0c41c80410e..66924ba07f7 100644 --- a/core/src/commonMain/kotlin/entity/VoiceState.kt +++ b/core/src/commonMain/kotlin/entity/VoiceState.kt @@ -10,7 +10,6 @@ import dev.kord.core.entity.channel.VoiceChannel import dev.kord.core.exception.EntityNotFoundException import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.supplier.getChannelOfOrNull import kotlinx.datetime.Instant public class VoiceState( diff --git a/core/src/commonMain/kotlin/entity/Webhook.kt b/core/src/commonMain/kotlin/entity/Webhook.kt index 2874331d505..093826d5cfd 100644 --- a/core/src/commonMain/kotlin/entity/Webhook.kt +++ b/core/src/commonMain/kotlin/entity/Webhook.kt @@ -11,11 +11,11 @@ import dev.kord.core.cache.data.WebhookData import dev.kord.core.entity.channel.MessageChannel import dev.kord.core.entity.channel.TopGuildMessageChannel import dev.kord.core.exception.EntityNotFoundException +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy import dev.kord.core.supplier.getChannelOf import dev.kord.core.supplier.getChannelOfOrNull -import dev.kord.core.hash public data class Webhook( val data: WebhookData, diff --git a/core/src/commonMain/kotlin/entity/application/ApplicationCommand.kt b/core/src/commonMain/kotlin/entity/application/ApplicationCommand.kt index 8df8edf0829..ae876e74738 100644 --- a/core/src/commonMain/kotlin/entity/application/ApplicationCommand.kt +++ b/core/src/commonMain/kotlin/entity/application/ApplicationCommand.kt @@ -85,6 +85,7 @@ public fun GlobalApplicationCommand(data: ApplicationCommandData, service: Inter ApplicationCommandType.ChatInput -> GlobalChatInputCommand(data, service) ApplicationCommandType.Message -> GlobalMessageCommand(data, service) ApplicationCommandType.User -> GlobalUserCommand(data, service) + ApplicationCommandType.PrimaryEntryPoint -> GlobalPrimaryEntryPointCommand(data, service) is ApplicationCommandType.Unknown -> UnknownGlobalApplicationCommand(data, service) null -> error("The type value is missing, can't determine the type") } @@ -113,6 +114,7 @@ public fun GuildApplicationCommand(data: ApplicationCommandData, service: Intera ApplicationCommandType.ChatInput -> GuildChatInputCommand(data, service) ApplicationCommandType.Message -> GuildMessageCommand(data, service) ApplicationCommandType.User -> GuildUserCommand(data, service) + ApplicationCommandType.PrimaryEntryPoint -> GuildPrimaryEntryPointCommand(data, service) is ApplicationCommandType.Unknown -> UnknownGuildApplicationCommand(data, service) null -> error("The type value is missing, can't determine the type") } diff --git a/core/src/commonMain/kotlin/entity/application/EntryPointCommands.kt b/core/src/commonMain/kotlin/entity/application/EntryPointCommands.kt new file mode 100644 index 00000000000..2b32a6f59e2 --- /dev/null +++ b/core/src/commonMain/kotlin/entity/application/EntryPointCommands.kt @@ -0,0 +1,23 @@ +package dev.kord.core.entity.application + +import dev.kord.common.entity.Snowflake +import dev.kord.core.behavior.EntryPointCommandBehavior +import dev.kord.core.behavior.GlobalEntryPointCommandBehavior +import dev.kord.core.behavior.GuildEntryPointCommandBehavior +import dev.kord.core.cache.data.ApplicationCommandData +import dev.kord.rest.service.InteractionService + +public interface PrimaryEntryPointCommand : ApplicationCommand, EntryPointCommandBehavior + +public class GuildPrimaryEntryPointCommand( + override val data: ApplicationCommandData, + override val service: InteractionService +) : PrimaryEntryPointCommand, GuildApplicationCommand, GuildEntryPointCommandBehavior { + override val guildId: Snowflake + get() = data.guildId.value!! +} + +public class GlobalPrimaryEntryPointCommand( + override val data: ApplicationCommandData, + override val service: InteractionService +) : PrimaryEntryPointCommand, GlobalApplicationCommand, GlobalEntryPointCommandBehavior diff --git a/core/src/commonMain/kotlin/entity/channel/Category.kt b/core/src/commonMain/kotlin/entity/channel/Category.kt index 76b2cdfc13e..9ea97d59a9a 100644 --- a/core/src/commonMain/kotlin/entity/channel/Category.kt +++ b/core/src/commonMain/kotlin/entity/channel/Category.kt @@ -8,9 +8,9 @@ import dev.kord.core.behavior.channel.ChannelBehavior import dev.kord.core.behavior.channel.GuildChannelBehavior import dev.kord.core.cache.data.ChannelData import dev.kord.core.entity.Entity +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.hash /** * An instance of a Discord category associated to a [guild]. diff --git a/core/src/commonMain/kotlin/entity/channel/NewsChannel.kt b/core/src/commonMain/kotlin/entity/channel/NewsChannel.kt index 348edf55309..cd4b9998f4f 100644 --- a/core/src/commonMain/kotlin/entity/channel/NewsChannel.kt +++ b/core/src/commonMain/kotlin/entity/channel/NewsChannel.kt @@ -2,12 +2,12 @@ package dev.kord.core.entity.channel import dev.kord.core.Kord import dev.kord.core.behavior.channel.ChannelBehavior -import dev.kord.core.behavior.channel.TopGuildChannelBehavior import dev.kord.core.behavior.channel.NewsChannelBehavior +import dev.kord.core.behavior.channel.TopGuildChannelBehavior import dev.kord.core.cache.data.ChannelData +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.hash /** * An instance of a Discord News Channel associated to a guild. diff --git a/core/src/commonMain/kotlin/entity/channel/StageVoiceChannel.kt b/core/src/commonMain/kotlin/entity/channel/StageVoiceChannel.kt index 4ff86c95a68..ff3e3002b46 100644 --- a/core/src/commonMain/kotlin/entity/channel/StageVoiceChannel.kt +++ b/core/src/commonMain/kotlin/entity/channel/StageVoiceChannel.kt @@ -6,9 +6,9 @@ import dev.kord.core.behavior.channel.ChannelBehavior import dev.kord.core.behavior.channel.GuildChannelBehavior import dev.kord.core.behavior.channel.StageChannelBehavior import dev.kord.core.cache.data.ChannelData +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.hash /** * An instance of a [Discord Stage Channel](https://support.discord.com/hc/en-us/articles/1500005513722) diff --git a/core/src/commonMain/kotlin/entity/channel/TextChannel.kt b/core/src/commonMain/kotlin/entity/channel/TextChannel.kt index ed37d7925ee..406b79b7c74 100644 --- a/core/src/commonMain/kotlin/entity/channel/TextChannel.kt +++ b/core/src/commonMain/kotlin/entity/channel/TextChannel.kt @@ -7,9 +7,9 @@ import dev.kord.core.behavior.channel.ChannelBehavior import dev.kord.core.behavior.channel.GuildChannelBehavior import dev.kord.core.behavior.channel.TextChannelBehavior import dev.kord.core.cache.data.ChannelData +import dev.kord.core.hash import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.core.hash import kotlin.time.Duration /** diff --git a/core/src/commonMain/kotlin/entity/interaction/ApplicationCommandInteraction.kt b/core/src/commonMain/kotlin/entity/interaction/ApplicationCommandInteraction.kt index 2beffdeb158..72eef816290 100644 --- a/core/src/commonMain/kotlin/entity/interaction/ApplicationCommandInteraction.kt +++ b/core/src/commonMain/kotlin/entity/interaction/ApplicationCommandInteraction.kt @@ -54,6 +54,7 @@ public fun GlobalApplicationCommandInteraction( ApplicationCommandType.ChatInput -> GlobalChatInputCommandInteraction(data, kord, supplier) ApplicationCommandType.User -> GlobalUserCommandInteraction(data, kord, supplier) ApplicationCommandType.Message -> GlobalMessageCommandInteraction(data, kord, supplier) + ApplicationCommandType.PrimaryEntryPoint -> GlobalPrimaryEntryPointCommandInteraction(data, kord, supplier) is ApplicationCommandType.Unknown -> error("Unknown application command type ${type.value}") null -> error("No application command type was provided") } @@ -76,6 +77,7 @@ public fun GuildApplicationCommandInteraction( ApplicationCommandType.ChatInput -> GuildChatInputCommandInteraction(data, kord, supplier) ApplicationCommandType.User -> GuildUserCommandInteraction(data, kord, supplier) ApplicationCommandType.Message -> GuildMessageCommandInteraction(data, kord, supplier) + ApplicationCommandType.PrimaryEntryPoint -> GuildPrimaryEntryPointCommandInteraction(data, kord, supplier) is ApplicationCommandType.Unknown -> error("Unknown application command type ${type.value}") null -> error("No application command type was provided") } diff --git a/core/src/commonMain/kotlin/entity/interaction/ChatInputCommandInteraction.kt b/core/src/commonMain/kotlin/entity/interaction/ChatInputCommandInteraction.kt index 4377e9a8701..6caa8d562d1 100644 --- a/core/src/commonMain/kotlin/entity/interaction/ChatInputCommandInteraction.kt +++ b/core/src/commonMain/kotlin/entity/interaction/ChatInputCommandInteraction.kt @@ -3,6 +3,7 @@ package dev.kord.core.entity.interaction import dev.kord.core.Kord import dev.kord.core.cache.data.InteractionData import dev.kord.core.entity.Guild +import dev.kord.core.entity.Member import dev.kord.core.entity.application.ChatInputCommandCommand import dev.kord.core.supplier.EntitySupplier import dev.kord.core.supplier.EntitySupplyStrategy diff --git a/core/src/commonMain/kotlin/entity/interaction/GuildInteraction.kt b/core/src/commonMain/kotlin/entity/interaction/GuildInteraction.kt index ad68b1e4051..672433ce228 100644 --- a/core/src/commonMain/kotlin/entity/interaction/GuildInteraction.kt +++ b/core/src/commonMain/kotlin/entity/interaction/GuildInteraction.kt @@ -25,7 +25,7 @@ public sealed interface GuildInteraction : Interaction, GuildInteractionBehavior * [Permissions] the [application][applicationId] has within the [channel][GuildInteractionBehavior.channel] the * interaction was sent from. */ - public val appPermissions: Permissions get() = data.appPermissions.value!! + public val appPermissions: Permissions get() = data.appPermissions override fun withStrategy(strategy: EntitySupplyStrategy<*>): GuildInteraction } diff --git a/core/src/commonMain/kotlin/entity/interaction/Interaction.kt b/core/src/commonMain/kotlin/entity/interaction/Interaction.kt index 18cc561f4fe..4a2599ddd80 100644 --- a/core/src/commonMain/kotlin/entity/interaction/Interaction.kt +++ b/core/src/commonMain/kotlin/entity/interaction/Interaction.kt @@ -1,6 +1,10 @@ package dev.kord.core.entity.interaction import dev.kord.common.Locale +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.ApplicationIntegrationType.GuildInstall +import dev.kord.common.entity.ApplicationIntegrationType.UserInstall +import dev.kord.common.entity.InteractionContextType import dev.kord.common.entity.InteractionType import dev.kord.common.entity.Snowflake import dev.kord.common.entity.optional.OptionalSnowflake @@ -11,7 +15,6 @@ import dev.kord.core.behavior.interaction.InteractionBehavior import dev.kord.core.cache.data.InteractionData import dev.kord.core.entity.User import dev.kord.core.entity.monetization.Entitlement -import dev.kord.core.entity.monetization.Sku import dev.kord.core.supplier.EntitySupplyStrategy /** @@ -63,6 +66,24 @@ public sealed interface Interaction : InteractionBehavior { */ public val entitlements: List get() = data.entitlements.mapList { Entitlement(it, kord) }.orEmpty() + /** + * Map of the authorizing users id by [type][ApplicationIntegrationType]. + * + * For [ApplicationIntegrationType.GuildInstall] this will be: + * - the guildId, if it's on a guild + * - `0` if it is from a user DM + * + * For [ApplicationIntegrationType.UserInstall] this will be: + * - The id of the authorizing user + */ + public val authorizingIntegrationOwners: Map + get() = data.authorizingIntegrationOwners + + /** + * [Context][InteractionContextType] where the interaction was triggered from. + */ + public val context: InteractionContextType? get() = data.context.value + override fun withStrategy(strategy: EntitySupplyStrategy<*>): Interaction public companion object { diff --git a/core/src/commonMain/kotlin/entity/interaction/PrimaryEntryPointCommandInteraction.kt b/core/src/commonMain/kotlin/entity/interaction/PrimaryEntryPointCommandInteraction.kt new file mode 100644 index 00000000000..9c470a2efa3 --- /dev/null +++ b/core/src/commonMain/kotlin/entity/interaction/PrimaryEntryPointCommandInteraction.kt @@ -0,0 +1,38 @@ + package dev.kord.core.entity.interaction + +import dev.kord.core.Kord +import dev.kord.core.cache.data.InteractionData +import dev.kord.core.supplier.EntitySupplier +import dev.kord.core.supplier.EntitySupplyStrategy + +public sealed interface PrimaryEntryPointCommandInteraction : ApplicationCommandInteraction { + override fun withStrategy(strategy: EntitySupplyStrategy<*>): PrimaryEntryPointCommandInteraction +} + +public class GlobalPrimaryEntryPointCommandInteraction( + override val data: InteractionData, + override val kord: Kord, + override val supplier: EntitySupplier +) : PrimaryEntryPointCommandInteraction, GlobalApplicationCommandInteraction { + override fun withStrategy(strategy: EntitySupplyStrategy<*>): GlobalPrimaryEntryPointCommandInteraction = + GlobalPrimaryEntryPointCommandInteraction(data, kord, strategy.supply(kord)) + + override fun equals(other: Any?): Boolean = other is GlobalPrimaryEntryPointCommandInteraction && this.id == other.id + override fun hashCode(): Int = id.hashCode() + override fun toString(): String = + "GlobalPrimaryCommandInteraction(data=$data, kord=$kord, supplier=$supplier)" +} + +public class GuildPrimaryEntryPointCommandInteraction( + override val data: InteractionData, + override val kord: Kord, + override val supplier: EntitySupplier +) : PrimaryEntryPointCommandInteraction, GuildApplicationCommandInteraction { + override fun withStrategy(strategy: EntitySupplyStrategy<*>): GuildPrimaryEntryPointCommandInteraction = + GuildPrimaryEntryPointCommandInteraction(data, kord, strategy.supply(kord)) + + override fun equals(other: Any?): Boolean = other is GlobalPrimaryEntryPointCommandInteraction && this.id == other.id + override fun hashCode(): Int = id.hashCode() + override fun toString(): String = + "GuildPrimaryEntryPointInteraction(data=$data, kord=$kord, supplier=$supplier)" +} diff --git a/core/src/commonMain/kotlin/entity/interaction/ResolvedObjects.kt b/core/src/commonMain/kotlin/entity/interaction/ResolvedObjects.kt index 3cc16f84b4f..304403f89c3 100644 --- a/core/src/commonMain/kotlin/entity/interaction/ResolvedObjects.kt +++ b/core/src/commonMain/kotlin/entity/interaction/ResolvedObjects.kt @@ -1,12 +1,12 @@ package dev.kord.core.entity.interaction import dev.kord.common.entity.Snowflake +import dev.kord.common.entity.optional.mapValues import dev.kord.core.Kord import dev.kord.core.cache.data.ResolvedObjectsData import dev.kord.core.entity.* import dev.kord.core.entity.channel.ResolvedChannel import dev.kord.core.supplier.EntitySupplyStrategy -import dev.kord.common.entity.optional.mapValues public class ResolvedObjects( public val data: ResolvedObjectsData, diff --git a/core/src/commonMain/kotlin/event/interaction/ApplicationCommandInteractionCreate.kt b/core/src/commonMain/kotlin/event/interaction/ApplicationCommandInteractionCreate.kt index 731e6e4f787..e16d89fadca 100644 --- a/core/src/commonMain/kotlin/event/interaction/ApplicationCommandInteractionCreate.kt +++ b/core/src/commonMain/kotlin/event/interaction/ApplicationCommandInteractionCreate.kt @@ -87,3 +87,24 @@ public class GlobalChatInputCommandInteractionCreateEvent( override val shard: Int, override val customContext: Any?, ) : GlobalApplicationCommandInteractionCreateEvent, ChatInputCommandInteractionCreateEvent + +/** An [Event] that fires when a [PrimaryEntryPointCommandInteraction] is created. */ +public sealed interface PrimaryEntryPointCommandInteractionCreateEvent : ApplicationCommandInteractionCreateEvent { + override val interaction: PrimaryEntryPointCommandInteraction +} + +/** An [Event] that fires when a [GuildPrimaryEntryPointCommandInteraction] is created. */ +public class GuildPrimaryEntryPointCommandInteractionCreateEvent( + override val interaction: GuildPrimaryEntryPointCommandInteraction, + override val kord: Kord, + override val shard: Int, + override val customContext: Any? +) : PrimaryEntryPointCommandInteractionCreateEvent, GuildApplicationCommandInteractionCreateEvent + +/** An [Event] that fires when a [GlobalPrimaryEntryPointCommandInteraction] is created. */ +public class GlobalPrimaryEntryPointCommandInteractionCreateEvent( + override val interaction: GlobalPrimaryEntryPointCommandInteraction, + override val kord: Kord, + override val shard: Int, + override val customContext: Any? +) : PrimaryEntryPointCommandInteractionCreateEvent, GlobalApplicationCommandInteractionCreateEvent diff --git a/core/src/commonMain/kotlin/gateway/handler/InteractionEventHandler.kt b/core/src/commonMain/kotlin/gateway/handler/InteractionEventHandler.kt index 047995ed60d..b5ae5c1f526 100644 --- a/core/src/commonMain/kotlin/gateway/handler/InteractionEventHandler.kt +++ b/core/src/commonMain/kotlin/gateway/handler/InteractionEventHandler.kt @@ -50,6 +50,8 @@ internal class InteractionEventHandler : BaseGatewayEventHandler() { is GuildButtonInteraction -> GuildButtonInteractionCreateEvent(interaction, kord, shard, context?.get()) is GuildSelectMenuInteraction -> GuildSelectMenuInteractionCreateEvent(interaction, kord, shard, context?.get()) is GuildModalSubmitInteraction -> GuildModalSubmitInteractionCreateEvent(interaction, kord, shard, context?.get()) + is GlobalPrimaryEntryPointCommandInteraction -> GlobalPrimaryEntryPointCommandInteractionCreateEvent(interaction, kord, shard, context?.get()) + is GuildPrimaryEntryPointCommandInteraction -> GuildPrimaryEntryPointCommandInteractionCreateEvent(interaction, kord, shard, context?.get()) } return coreEvent } @@ -68,6 +70,7 @@ internal class InteractionEventHandler : BaseGatewayEventHandler() { is GuildMessageCommand -> MessageCommandCreateEvent(application, kord, shard, context?.get()) is GuildUserCommand -> UserCommandCreateEvent(application, kord, shard, context?.get()) is UnknownGuildApplicationCommand -> UnknownApplicationCommandCreateEvent(application, kord, shard, context?.get()) + else -> error("Got unexpected command type: ${data.type}") } return coreEvent } @@ -88,6 +91,7 @@ internal class InteractionEventHandler : BaseGatewayEventHandler() { is GuildMessageCommand -> MessageCommandUpdateEvent(application, kord, shard, context?.get()) is GuildUserCommand -> UserCommandUpdateEvent(application, kord, shard, context?.get()) is UnknownGuildApplicationCommand -> UnknownApplicationCommandUpdateEvent(application, kord, shard, context?.get()) + else -> error("Got unexpected command type: ${data.type}") } return coreEvent } @@ -106,6 +110,7 @@ internal class InteractionEventHandler : BaseGatewayEventHandler() { is GuildMessageCommand -> MessageCommandDeleteEvent(application, kord, shard, context?.get()) is GuildUserCommand -> UserCommandDeleteEvent(application, kord, shard, context?.get()) is UnknownGuildApplicationCommand -> UnknownApplicationCommandDeleteEvent(application, kord, shard, context?.get()) + else -> error("Got unexpected command type: ${data.type}") } return coreEvent } diff --git a/core/src/commonMain/kotlin/gateway/handler/MessageEventHandler.kt b/core/src/commonMain/kotlin/gateway/handler/MessageEventHandler.kt index dc4f333a4ba..2dbdf073ec3 100644 --- a/core/src/commonMain/kotlin/gateway/handler/MessageEventHandler.kt +++ b/core/src/commonMain/kotlin/gateway/handler/MessageEventHandler.kt @@ -63,6 +63,7 @@ internal class MessageEventHandler : BaseGatewayEventHandler() { Member(memberData, userData, kord) } else null + @Suppress("DEPRECATION") //cache interaction user if present. if (interaction is Optional.Value) { val interactionUserData = UserData.from(interaction.value!!.user) diff --git a/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt b/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt index f7f6b6313db..b9253e6f018 100644 --- a/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt +++ b/core/src/commonMain/kotlin/supplier/EntitySupplyStrategy.kt @@ -1,7 +1,6 @@ package dev.kord.core.supplier import dev.kord.core.Kord -import dev.kord.core.supplier.EntitySupplyStrategy.Companion.cache /** * A supplier that accepts a [Kord] instance and returns an [EntitySupplier] of type [T]. diff --git a/core/src/jvmTest/kotlin/entity/IntegrationTest.kt b/core/src/jvmTest/kotlin/entity/IntegrationTest.kt index 37dd58a0862..10ed31d4f16 100644 --- a/core/src/jvmTest/kotlin/entity/IntegrationTest.kt +++ b/core/src/jvmTest/kotlin/entity/IntegrationTest.kt @@ -2,9 +2,9 @@ package dev.kord.core.entity import dev.kord.core.cache.data.IntegrationData import dev.kord.core.equality.GuildEntityEqualityTest +import dev.kord.core.mockKord import io.mockk.every import io.mockk.mockk -import dev.kord.core.mockKord internal class IntegrationTest : GuildEntityEqualityTest by GuildEntityEqualityTest ({ id, guildId -> val kord = mockKord() diff --git a/core/src/jvmTest/kotlin/entity/MemberTest.kt b/core/src/jvmTest/kotlin/entity/MemberTest.kt index 6fff9f80dbd..58c0ce4c67e 100644 --- a/core/src/jvmTest/kotlin/entity/MemberTest.kt +++ b/core/src/jvmTest/kotlin/entity/MemberTest.kt @@ -6,9 +6,9 @@ import dev.kord.core.cache.data.MemberData import dev.kord.core.cache.data.UserData import dev.kord.core.equality.BehaviorEqualityTest import dev.kord.core.equality.GuildEntityEqualityTest +import dev.kord.core.mockKord import io.mockk.every import io.mockk.mockk -import dev.kord.core.mockKord import org.junit.jupiter.api.Test import kotlin.test.assertEquals diff --git a/gateway/src/commonMain/kotlin/builder/RequestGuildMembersBuilder.kt b/gateway/src/commonMain/kotlin/builder/RequestGuildMembersBuilder.kt index 0fab2d30788..2ce5b25400b 100644 --- a/gateway/src/commonMain/kotlin/builder/RequestGuildMembersBuilder.kt +++ b/gateway/src/commonMain/kotlin/builder/RequestGuildMembersBuilder.kt @@ -7,7 +7,6 @@ import dev.kord.common.entity.optional.OptionalBoolean import dev.kord.common.entity.optional.OptionalInt import dev.kord.common.entity.optional.delegate.delegate import dev.kord.gateway.GuildMembersChunkData -import dev.kord.gateway.Intent import dev.kord.gateway.PrivilegedIntent import dev.kord.gateway.RequestGuildMembers diff --git a/gateway/src/commonTest/kotlin/json/DispatchEventDeserializationTest.kt b/gateway/src/commonTest/kotlin/json/DispatchEventDeserializationTest.kt index 5ff4dac99ce..0096fcf2b9b 100644 --- a/gateway/src/commonTest/kotlin/json/DispatchEventDeserializationTest.kt +++ b/gateway/src/commonTest/kotlin/json/DispatchEventDeserializationTest.kt @@ -585,9 +585,11 @@ class DispatchEventDeserializationTest { type = InteractionType.Ping, data = InteractionCallbackData(), token = "hunter2", + appPermissions = Permissions(), + authorizingIntegrationOwners = mapOf(ApplicationIntegrationType.GuildInstall to Snowflake.min), version = 1, ), - json = """{"id":"0","application_id":"0","type":1,"data":{},"token":"hunter2","version":1}""", + json = """{"id":"0","application_id":"0","type":1,"data":{},"token":"hunter2","version":1, "app_permissions":"0", "authorizing_integration_owners": {"0": 0}}""", ) @Test diff --git a/rest/api/rest.api b/rest/api/rest.api index 541efb4ea8f..0418623dcf4 100644 --- a/rest/api/rest.api +++ b/rest/api/rest.api @@ -1481,31 +1481,47 @@ public final class dev/kord/rest/builder/integration/IntegrationModifyBuilder : public abstract interface class dev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder : dev/kord/rest/builder/RequestBuilder, dev/kord/rest/builder/interaction/LocalizedNameCreateBuilder { public abstract fun disableCommandInGuilds ()V + public abstract fun getContexts ()Ljava/util/List; public abstract fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public abstract fun getDefaultPermission ()Ljava/lang/Boolean; + public abstract fun getIntegrationTypes ()Ljava/util/List; public abstract fun getNsfw ()Ljava/lang/Boolean; public abstract fun getType ()Ldev/kord/common/entity/ApplicationCommandType; + public abstract fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public abstract fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public abstract fun setContexts (Ljava/util/List;)V public abstract fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public abstract fun setDefaultPermission (Ljava/lang/Boolean;)V + public abstract fun setIntegrationTypes (Ljava/util/List;)V public abstract fun setNsfw (Ljava/lang/Boolean;)V } public final class dev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder$DefaultImpls { public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public abstract interface class dev/kord/rest/builder/interaction/ApplicationCommandModifyBuilder : dev/kord/rest/builder/RequestBuilder, dev/kord/rest/builder/interaction/LocalizedNameModifyBuilder { + public abstract fun getContexts ()Ljava/util/List; public abstract fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public abstract fun getDefaultPermission ()Ljava/lang/Boolean; + public abstract fun getIntegrationTypes ()Ljava/util/List; public abstract fun getNsfw ()Ljava/lang/Boolean; + public abstract fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public abstract fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public abstract fun setContexts (Ljava/util/List;)V public abstract fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public abstract fun setDefaultPermission (Ljava/lang/Boolean;)V + public abstract fun setIntegrationTypes (Ljava/util/List;)V public abstract fun setNsfw (Ljava/lang/Boolean;)V } public final class dev/kord/rest/builder/interaction/ApplicationCommandModifyBuilder$DefaultImpls { public static fun name (Ldev/kord/rest/builder/interaction/ApplicationCommandModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/ApplicationCommandModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/ApplicationCommandModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/AttachmentBuilder : dev/kord/rest/builder/interaction/OptionsBuilder { @@ -1555,28 +1571,36 @@ public final class dev/kord/rest/builder/interaction/ChatInputCreateBuilder$Defa public static fun description (Ldev/kord/rest/builder/interaction/ChatInputCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/ChatInputCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/ChatInputCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/ChatInputCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/ChatInputCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/ChatInputCreateBuilderImpl : dev/kord/rest/builder/interaction/GlobalChatInputCreateBuilder { public fun (Ljava/lang/String;Ljava/lang/String;)V public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun disableCommandInGuilds ()V + public fun getContexts ()Ljava/util/List; public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDescription ()Ljava/lang/String; public fun getDescriptionLocalizations ()Ljava/util/Map; public fun getDmPermission ()Ljava/lang/Boolean; + public fun getIntegrationTypes ()Ljava/util/List; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun getOptions ()Ljava/util/List; public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V public fun setDescription (Ljava/lang/String;)V public fun setDescriptionLocalizations (Ljava/util/Map;)V public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V public fun setName (Ljava/lang/String;)V public fun setNameLocalizations (Ljava/util/Map;)V public fun setNsfw (Ljava/lang/Boolean;)V @@ -1591,26 +1615,34 @@ public abstract interface class dev/kord/rest/builder/interaction/ChatInputModif public final class dev/kord/rest/builder/interaction/ChatInputModifyBuilder$DefaultImpls { public static fun description (Ldev/kord/rest/builder/interaction/ChatInputModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V public static fun name (Ldev/kord/rest/builder/interaction/ChatInputModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/ChatInputModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/ChatInputModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/ChatInputModifyBuilderImpl : dev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder { public fun ()V public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun getContexts ()Ljava/util/List; public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDescription ()Ljava/lang/String; public fun getDescriptionLocalizations ()Ljava/util/Map; public fun getDmPermission ()Ljava/lang/Boolean; + public fun getIntegrationTypes ()Ljava/util/List; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun getOptions ()Ljava/util/List; public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V public fun setDescription (Ljava/lang/String;)V public fun setDescriptionLocalizations (Ljava/util/Map;)V public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V public fun setName (Ljava/lang/String;)V public fun setNameLocalizations (Ljava/util/Map;)V public fun setNsfw (Ljava/lang/Boolean;)V @@ -1630,6 +1662,93 @@ public final class dev/kord/rest/builder/interaction/ChoiceLocalizationsBuilder public final fun set_nameLocalizations (Ldev/kord/common/entity/optional/Optional;)V } +public abstract interface class dev/kord/rest/builder/interaction/EntryPointCreateBuilder : dev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder, dev/kord/rest/builder/interaction/LocalizedDescriptionCreateBuilder { + public abstract fun getHandler ()Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType; +} + +public final class dev/kord/rest/builder/interaction/EntryPointCreateBuilder$DefaultImpls { + public static fun description (Ldev/kord/rest/builder/interaction/EntryPointCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/EntryPointCreateBuilder;)V + public static fun name (Ldev/kord/rest/builder/interaction/EntryPointCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/EntryPointCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/EntryPointCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V +} + +public final class dev/kord/rest/builder/interaction/EntryPointCreateBuilderImpl : dev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder { + public fun (Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;)V + public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun disableCommandInGuilds ()V + public fun getContexts ()Ljava/util/List; + public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; + public fun getDefaultPermission ()Ljava/lang/Boolean; + public fun getDescription ()Ljava/lang/String; + public fun getDescriptionLocalizations ()Ljava/util/Map; + public fun getDmPermission ()Ljava/lang/Boolean; + public fun getHandler ()Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType; + public fun getIntegrationTypes ()Ljava/util/List; + public fun getName ()Ljava/lang/String; + public fun getNameLocalizations ()Ljava/util/Map; + public fun getNsfw ()Ljava/lang/Boolean; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V + public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V + public fun setDefaultPermission (Ljava/lang/Boolean;)V + public fun setDescription (Ljava/lang/String;)V + public fun setDescriptionLocalizations (Ljava/util/Map;)V + public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V + public fun setName (Ljava/lang/String;)V + public fun setNameLocalizations (Ljava/util/Map;)V + public fun setNsfw (Ljava/lang/Boolean;)V + public fun toRequest ()Ldev/kord/rest/json/request/ApplicationCommandCreateRequest; + public synthetic fun toRequest ()Ljava/lang/Object; +} + +public abstract interface class dev/kord/rest/builder/interaction/EntryPointModifyBuilder : dev/kord/rest/builder/interaction/ApplicationCommandModifyBuilder, dev/kord/rest/builder/interaction/LocalizedDescriptionModifyBuilder { + public abstract fun getHandler ()Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType; +} + +public final class dev/kord/rest/builder/interaction/EntryPointModifyBuilder$DefaultImpls { + public static fun description (Ldev/kord/rest/builder/interaction/EntryPointModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun name (Ldev/kord/rest/builder/interaction/EntryPointModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/EntryPointModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/EntryPointModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V +} + +public final class dev/kord/rest/builder/interaction/EntryPointModifyBuilderImpl : dev/kord/rest/builder/interaction/EntryPointModifyBuilder, dev/kord/rest/builder/interaction/GlobalEntryPointModifyBuilder { + public fun ()V + public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun getContexts ()Ljava/util/List; + public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; + public fun getDefaultPermission ()Ljava/lang/Boolean; + public fun getDescription ()Ljava/lang/String; + public fun getDescriptionLocalizations ()Ljava/util/Map; + public fun getDmPermission ()Ljava/lang/Boolean; + public fun getHandler ()Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType; + public fun getIntegrationTypes ()Ljava/util/List; + public fun getName ()Ljava/lang/String; + public fun getNameLocalizations ()Ljava/util/Map; + public fun getNsfw ()Ljava/lang/Boolean; + public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V + public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V + public fun setDefaultPermission (Ljava/lang/Boolean;)V + public fun setDescription (Ljava/lang/String;)V + public fun setDescriptionLocalizations (Ljava/util/Map;)V + public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V + public fun setName (Ljava/lang/String;)V + public fun setNameLocalizations (Ljava/util/Map;)V + public fun setNsfw (Ljava/lang/Boolean;)V + public fun toRequest ()Ldev/kord/rest/json/request/ApplicationCommandModifyRequest; + public synthetic fun toRequest ()Ljava/lang/Object; +} + public abstract interface class dev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder : dev/kord/rest/builder/interaction/ApplicationCommandCreateBuilder { public abstract fun getDmPermission ()Ljava/lang/Boolean; public abstract fun setDmPermission (Ljava/lang/Boolean;)V @@ -1638,6 +1757,8 @@ public abstract interface class dev/kord/rest/builder/interaction/GlobalApplicat public final class dev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder$DefaultImpls { public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public abstract interface class dev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder : dev/kord/rest/builder/interaction/ApplicationCommandModifyBuilder { @@ -1647,6 +1768,8 @@ public abstract interface class dev/kord/rest/builder/interaction/GlobalApplicat public final class dev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder$DefaultImpls { public static fun name (Ldev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public abstract interface class dev/kord/rest/builder/interaction/GlobalChatInputCreateBuilder : dev/kord/rest/builder/interaction/ChatInputCreateBuilder, dev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder { @@ -1656,6 +1779,8 @@ public final class dev/kord/rest/builder/interaction/GlobalChatInputCreateBuilde public static fun description (Ldev/kord/rest/builder/interaction/GlobalChatInputCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/GlobalChatInputCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/GlobalChatInputCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalChatInputCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalChatInputCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public abstract interface class dev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder : dev/kord/rest/builder/interaction/ChatInputModifyBuilder, dev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder { @@ -1664,6 +1789,29 @@ public abstract interface class dev/kord/rest/builder/interaction/GlobalChatInpu public final class dev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder$DefaultImpls { public static fun description (Ldev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V public static fun name (Ldev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V +} + +public abstract interface class dev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder : dev/kord/rest/builder/interaction/EntryPointCreateBuilder, dev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder { +} + +public final class dev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder$DefaultImpls { + public static fun description (Ldev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder;)V + public static fun name (Ldev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalEntryPointCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V +} + +public abstract interface class dev/kord/rest/builder/interaction/GlobalEntryPointModifyBuilder : dev/kord/rest/builder/interaction/EntryPointModifyBuilder, dev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder { +} + +public final class dev/kord/rest/builder/interaction/GlobalEntryPointModifyBuilder$DefaultImpls { + public static fun description (Ldev/kord/rest/builder/interaction/GlobalEntryPointModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun name (Ldev/kord/rest/builder/interaction/GlobalEntryPointModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalEntryPointModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalEntryPointModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public abstract interface class dev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder : dev/kord/rest/builder/interaction/GlobalApplicationCommandCreateBuilder, dev/kord/rest/builder/interaction/MessageCommandCreateBuilder { @@ -1672,6 +1820,8 @@ public abstract interface class dev/kord/rest/builder/interaction/GlobalMessageC public final class dev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder$DefaultImpls { public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public abstract interface class dev/kord/rest/builder/interaction/GlobalMessageCommandModifyBuilder : dev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder, dev/kord/rest/builder/interaction/MessageCommandModifyBuilder { @@ -1679,10 +1829,14 @@ public abstract interface class dev/kord/rest/builder/interaction/GlobalMessageC public final class dev/kord/rest/builder/interaction/GlobalMessageCommandModifyBuilder$DefaultImpls { public static fun name (Ldev/kord/rest/builder/interaction/GlobalMessageCommandModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalMessageCommandModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalMessageCommandModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/GlobalMultiApplicationCommandBuilder : dev/kord/rest/builder/interaction/MultiApplicationCommandBuilder { public fun ()V + public final fun entryPoint (Ldev/kord/rest/builder/interaction/MultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;)V + public static synthetic fun entryPoint$default (Ldev/kord/rest/builder/interaction/GlobalMultiApplicationCommandBuilder;Ldev/kord/rest/builder/interaction/MultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public final fun input (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V public static synthetic fun input$default (Ldev/kord/rest/builder/interaction/GlobalMultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public final fun message (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V @@ -1697,6 +1851,8 @@ public abstract interface class dev/kord/rest/builder/interaction/GlobalUserComm public final class dev/kord/rest/builder/interaction/GlobalUserCommandCreateBuilder$DefaultImpls { public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/GlobalUserCommandCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/GlobalUserCommandCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalUserCommandCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalUserCommandCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public abstract interface class dev/kord/rest/builder/interaction/GlobalUserCommandModifyBuilder : dev/kord/rest/builder/interaction/GlobalApplicationCommandModifyBuilder, dev/kord/rest/builder/interaction/UserCommandModifyBuilder { @@ -1704,6 +1860,8 @@ public abstract interface class dev/kord/rest/builder/interaction/GlobalUserComm public final class dev/kord/rest/builder/interaction/GlobalUserCommandModifyBuilder$DefaultImpls { public static fun name (Ldev/kord/rest/builder/interaction/GlobalUserCommandModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/GlobalUserCommandModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/GlobalUserCommandModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/GroupCommandBuilder : dev/kord/rest/builder/interaction/BaseCommandOptionBuilder { @@ -1713,6 +1871,7 @@ public final class dev/kord/rest/builder/interaction/GroupCommandBuilder : dev/k public final class dev/kord/rest/builder/interaction/GuildMultiApplicationCommandBuilder : dev/kord/rest/builder/interaction/MultiApplicationCommandBuilder { public fun ()V + public final fun entryPoint (Ldev/kord/rest/builder/interaction/MultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;)V public final fun input (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V public static synthetic fun input$default (Ldev/kord/rest/builder/interaction/GuildMultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public final fun message (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V @@ -1820,22 +1979,30 @@ public abstract interface class dev/kord/rest/builder/interaction/MessageCommand public final class dev/kord/rest/builder/interaction/MessageCommandCreateBuilder$DefaultImpls { public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/MessageCommandCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/MessageCommandCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/MessageCommandCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/MessageCommandCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/MessageCommandCreateBuilderImpl : dev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder { public fun (Ljava/lang/String;)V public fun disableCommandInGuilds ()V + public fun getContexts ()Ljava/util/List; public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; + public fun getIntegrationTypes ()Ljava/util/List; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V public fun setName (Ljava/lang/String;)V public fun setNameLocalizations (Ljava/util/Map;)V public fun setNsfw (Ljava/lang/Boolean;)V @@ -1848,20 +2015,28 @@ public abstract interface class dev/kord/rest/builder/interaction/MessageCommand public final class dev/kord/rest/builder/interaction/MessageCommandModifyBuilder$DefaultImpls { public static fun name (Ldev/kord/rest/builder/interaction/MessageCommandModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/MessageCommandModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/MessageCommandModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/MessageCommandModifyBuilderImpl : dev/kord/rest/builder/interaction/GlobalMessageCommandModifyBuilder { public fun ()V + public fun getContexts ()Ljava/util/List; public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; + public fun getIntegrationTypes ()Ljava/util/List; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V public fun setName (Ljava/lang/String;)V public fun setNameLocalizations (Ljava/util/Map;)V public fun setNsfw (Ljava/lang/Boolean;)V @@ -1887,6 +2062,7 @@ public abstract class dev/kord/rest/builder/interaction/MultiApplicationCommandB } public final class dev/kord/rest/builder/interaction/MultiApplicationCommandBuilderKt { + public static final fun entryPoint (Ldev/kord/rest/builder/interaction/MultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;)V public static final fun input (Ldev/kord/rest/builder/interaction/MultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V public static synthetic fun input$default (Ldev/kord/rest/builder/interaction/MultiApplicationCommandBuilder;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public static final fun message (Ldev/kord/rest/builder/interaction/MultiApplicationCommandBuilder;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V @@ -1967,22 +2143,30 @@ public abstract interface class dev/kord/rest/builder/interaction/UserCommandCre public final class dev/kord/rest/builder/interaction/UserCommandCreateBuilder$DefaultImpls { public static fun disableCommandInGuilds (Ldev/kord/rest/builder/interaction/UserCommandCreateBuilder;)V public static fun name (Ldev/kord/rest/builder/interaction/UserCommandCreateBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/UserCommandCreateBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/UserCommandCreateBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/UserCommandCreateBuilderImpl : dev/kord/rest/builder/interaction/GlobalUserCommandCreateBuilder { public fun (Ljava/lang/String;)V public fun disableCommandInGuilds ()V + public fun getContexts ()Ljava/util/List; public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; + public fun getIntegrationTypes ()Ljava/util/List; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V public fun setName (Ljava/lang/String;)V public fun setNameLocalizations (Ljava/util/Map;)V public fun setNsfw (Ljava/lang/Boolean;)V @@ -1995,20 +2179,28 @@ public abstract interface class dev/kord/rest/builder/interaction/UserCommandMod public final class dev/kord/rest/builder/interaction/UserCommandModifyBuilder$DefaultImpls { public static fun name (Ldev/kord/rest/builder/interaction/UserCommandModifyBuilder;Ldev/kord/common/Locale;Ljava/lang/String;)V + public static fun requireContext (Ldev/kord/rest/builder/interaction/UserCommandModifyBuilder;[Ldev/kord/common/entity/InteractionContextType;)V + public static fun requireIntegrationTypes (Ldev/kord/rest/builder/interaction/UserCommandModifyBuilder;[Ldev/kord/common/entity/ApplicationIntegrationType;)V } public final class dev/kord/rest/builder/interaction/UserCommandModifyBuilderImpl : dev/kord/rest/builder/interaction/GlobalUserCommandModifyBuilder { public fun ()V + public fun getContexts ()Ljava/util/List; public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; + public fun getIntegrationTypes ()Ljava/util/List; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun requireContext ([Ldev/kord/common/entity/InteractionContextType;)V + public fun requireIntegrationTypes ([Ldev/kord/common/entity/ApplicationIntegrationType;)V + public fun setContexts (Ljava/util/List;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V public fun setDmPermission (Ljava/lang/Boolean;)V + public fun setIntegrationTypes (Ljava/util/List;)V public fun setName (Ljava/lang/String;)V public fun setNameLocalizations (Ljava/util/Map;)V public fun setNsfw (Ljava/lang/Boolean;)V @@ -2820,10 +3012,13 @@ public final class dev/kord/rest/json/JsonErrorCode$Companion { public final class dev/kord/rest/json/request/ApplicationCommandCreateRequest { public static final field Companion Ldev/kord/rest/json/request/ApplicationCommandCreateRequest$Companion; - public fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;)V - public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component10 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component11 ()Ldev/kord/common/entity/optional/Optional; + public final fun component12 ()Ldev/kord/common/entity/optional/Optional; + public final fun component13 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ldev/kord/common/entity/ApplicationCommandType; public final fun component4 ()Ldev/kord/common/entity/optional/Optional; @@ -2832,14 +3027,17 @@ public final class dev/kord/rest/json/request/ApplicationCommandCreateRequest { public final fun component7 ()Ldev/kord/common/entity/optional/Optional; public final fun component8 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component9 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun copy (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;)Ldev/kord/rest/json/request/ApplicationCommandCreateRequest; - public static synthetic fun copy$default (Ldev/kord/rest/json/request/ApplicationCommandCreateRequest;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;ILjava/lang/Object;)Ldev/kord/rest/json/request/ApplicationCommandCreateRequest; + public final fun copy (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/rest/json/request/ApplicationCommandCreateRequest; + public static synthetic fun copy$default (Ldev/kord/rest/json/request/ApplicationCommandCreateRequest;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/ApplicationCommandType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/rest/json/request/ApplicationCommandCreateRequest; public fun equals (Ljava/lang/Object;)Z + public final fun getContexts ()Ldev/kord/common/entity/optional/Optional; public final fun getDefaultMemberPermissions ()Ldev/kord/common/entity/optional/Optional; public final fun getDefaultPermission ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getDescription ()Ldev/kord/common/entity/optional/Optional; public final fun getDescriptionLocalizations ()Ldev/kord/common/entity/optional/Optional; public final fun getDmPermission ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun getHandler ()Ldev/kord/common/entity/optional/Optional; + public final fun getIntegrationTypes ()Ldev/kord/common/entity/optional/Optional; public final fun getName ()Ljava/lang/String; public final fun getNameLocalizations ()Ldev/kord/common/entity/optional/Optional; public final fun getNsfw ()Ldev/kord/common/entity/optional/OptionalBoolean; @@ -2867,9 +3065,12 @@ public final class dev/kord/rest/json/request/ApplicationCommandCreateRequest$Co public final class dev/kord/rest/json/request/ApplicationCommandModifyRequest { public static final field Companion Ldev/kord/rest/json/request/ApplicationCommandModifyRequest$Companion; public fun ()V - public fun (Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;)V - public synthetic fun (Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/optional/Optional; + public final fun component10 ()Ldev/kord/common/entity/optional/Optional; + public final fun component11 ()Ldev/kord/common/entity/optional/Optional; + public final fun component12 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ldev/kord/common/entity/optional/Optional; public final fun component4 ()Ldev/kord/common/entity/optional/Optional; @@ -2878,14 +3079,17 @@ public final class dev/kord/rest/json/request/ApplicationCommandModifyRequest { public final fun component7 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component8 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component9 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun copy (Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;)Ldev/kord/rest/json/request/ApplicationCommandModifyRequest; - public static synthetic fun copy$default (Ldev/kord/rest/json/request/ApplicationCommandModifyRequest;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;ILjava/lang/Object;)Ldev/kord/rest/json/request/ApplicationCommandModifyRequest; + public final fun copy (Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/rest/json/request/ApplicationCommandModifyRequest; + public static synthetic fun copy$default (Ldev/kord/rest/json/request/ApplicationCommandModifyRequest;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/rest/json/request/ApplicationCommandModifyRequest; public fun equals (Ljava/lang/Object;)Z + public final fun getContexts ()Ldev/kord/common/entity/optional/Optional; public final fun getDefaultMemberPermissions ()Ldev/kord/common/entity/optional/Optional; public final fun getDefaultPermission ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getDescription ()Ldev/kord/common/entity/optional/Optional; public final fun getDescriptionLocalizations ()Ldev/kord/common/entity/optional/Optional; public final fun getDmPermission ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun getHandler ()Ldev/kord/common/entity/optional/Optional; + public final fun getIntegrationTypes ()Ldev/kord/common/entity/optional/Optional; public final fun getName ()Ldev/kord/common/entity/optional/Optional; public final fun getNameLocalizations ()Ldev/kord/common/entity/optional/Optional; public final fun getNsfw ()Ldev/kord/common/entity/optional/OptionalBoolean; @@ -7582,6 +7786,8 @@ public final class dev/kord/rest/service/InteractionService : dev/kord/rest/serv public static synthetic fun createGlobalChatInputApplicationCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGlobalMessageCommandApplicationCommand (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGlobalMessageCommandApplicationCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun createGlobalPrimaryEntryPointCommand (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun createGlobalPrimaryEntryPointCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGlobalUserCommandApplicationCommand (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGlobalUserCommandApplicationCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGuildApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/rest/json/request/ApplicationCommandCreateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -7591,6 +7797,8 @@ public final class dev/kord/rest/service/InteractionService : dev/kord/rest/serv public static synthetic fun createGuildChatInputApplicationCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGuildMessageCommandApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGuildMessageCommandApplicationCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun createGuildPrimaryEntryPointCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public static synthetic fun createGuildPrimaryEntryPointCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PrimaryEntryPointCommandHandlerType;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createGuildUserCommandApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun createGuildUserCommandApplicationCommand$default (Ldev/kord/rest/service/InteractionService;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public final fun createIntAutoCompleteInteractionResponse (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -7626,10 +7834,12 @@ public final class dev/kord/rest/service/InteractionService : dev/kord/rest/serv public final fun modifyGlobalApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/rest/json/request/ApplicationCommandModifyRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyGlobalChatInputApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyGlobalMessageApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun modifyGlobalPrimaryEntryPointApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyGlobalUserApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyGuildApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/rest/json/request/ApplicationCommandModifyRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyGuildChatInputApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyGuildMessageApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun modifyGuildPrimaryEntryPointApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyGuildUserApplicationCommand (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyInteractionResponse (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/rest/json/request/InteractionResponseModifyRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun modifyInteractionResponse (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/rest/json/request/MultipartInteractionResponseModifyRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; diff --git a/rest/api/rest.klib.api b/rest/api/rest.klib.api index 1af2cb5b897..45f7fc7abee 100644 --- a/rest/api/rest.klib.api +++ b/rest/api/rest.klib.api @@ -253,35 +253,62 @@ abstract interface dev.kord.rest.builder.interaction/ApplicationCommandCreateBui abstract val type // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.type|{}type[0] abstract fun (): dev.kord.common.entity/ApplicationCommandType // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.type.|(){}[0] + abstract var contexts // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.contexts|{}contexts[0] + abstract fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.contexts.|(){}[0] + abstract fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.contexts.|(kotlin.collections.MutableList?){}[0] abstract var defaultMemberPermissions // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.defaultMemberPermissions|{}defaultMemberPermissions[0] abstract fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.defaultMemberPermissions.|(){}[0] abstract fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] abstract var defaultPermission // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.defaultPermission|{}defaultPermission[0] abstract fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.defaultPermission.|(){}[0] abstract fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.defaultPermission.|(kotlin.Boolean?){}[0] + abstract var integrationTypes // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.integrationTypes|{}integrationTypes[0] + abstract fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.integrationTypes.|(){}[0] + abstract fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.integrationTypes.|(kotlin.collections.MutableList?){}[0] abstract var nsfw // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.nsfw|{}nsfw[0] abstract fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.nsfw.|(){}[0] abstract fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.nsfw.|(kotlin.Boolean?){}[0] open fun disableCommandInGuilds() // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.disableCommandInGuilds|disableCommandInGuilds(){}[0] + open fun requireContext(kotlin/Array...) // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.requireContext|requireContext(kotlin.Array...){}[0] + open fun requireIntegrationTypes(kotlin/Array...) // dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder.requireIntegrationTypes|requireIntegrationTypes(kotlin.Array...){}[0] } abstract interface dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder : dev.kord.rest.builder.interaction/LocalizedNameModifyBuilder, dev.kord.rest.builder/RequestBuilder { // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder|null[0] + abstract var contexts // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.contexts|{}contexts[0] + abstract fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.contexts.|(){}[0] + abstract fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.contexts.|(kotlin.collections.MutableList?){}[0] abstract var defaultMemberPermissions // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.defaultMemberPermissions|{}defaultMemberPermissions[0] abstract fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.defaultMemberPermissions.|(){}[0] abstract fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] abstract var defaultPermission // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.defaultPermission|{}defaultPermission[0] abstract fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.defaultPermission.|(){}[0] abstract fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.defaultPermission.|(kotlin.Boolean?){}[0] + abstract var integrationTypes // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.integrationTypes|{}integrationTypes[0] + abstract fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.integrationTypes.|(){}[0] + abstract fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.integrationTypes.|(kotlin.collections.MutableList?){}[0] abstract var nsfw // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.nsfw|{}nsfw[0] abstract fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.nsfw.|(){}[0] abstract fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.nsfw.|(kotlin.Boolean?){}[0] + + open fun requireContext(kotlin/Array...) // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.requireContext|requireContext(kotlin.Array...){}[0] + open fun requireIntegrationTypes(kotlin/Array...) // dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder.requireIntegrationTypes|requireIntegrationTypes(kotlin.Array...){}[0] } abstract interface dev.kord.rest.builder.interaction/ChatInputCreateBuilder : dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder, dev.kord.rest.builder.interaction/LocalizedDescriptionCreateBuilder, dev.kord.rest.builder.interaction/RootInputChatBuilder // dev.kord.rest.builder.interaction/ChatInputCreateBuilder|null[0] abstract interface dev.kord.rest.builder.interaction/ChatInputModifyBuilder : dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder, dev.kord.rest.builder.interaction/LocalizedDescriptionModifyBuilder, dev.kord.rest.builder.interaction/RootInputChatBuilder // dev.kord.rest.builder.interaction/ChatInputModifyBuilder|null[0] +abstract interface dev.kord.rest.builder.interaction/EntryPointCreateBuilder : dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder, dev.kord.rest.builder.interaction/LocalizedDescriptionCreateBuilder { // dev.kord.rest.builder.interaction/EntryPointCreateBuilder|null[0] + abstract val handler // dev.kord.rest.builder.interaction/EntryPointCreateBuilder.handler|{}handler[0] + abstract fun (): dev.kord.common.entity/PrimaryEntryPointCommandHandlerType? // dev.kord.rest.builder.interaction/EntryPointCreateBuilder.handler.|(){}[0] +} + +abstract interface dev.kord.rest.builder.interaction/EntryPointModifyBuilder : dev.kord.rest.builder.interaction/ApplicationCommandModifyBuilder, dev.kord.rest.builder.interaction/LocalizedDescriptionModifyBuilder { // dev.kord.rest.builder.interaction/EntryPointModifyBuilder|null[0] + abstract val handler // dev.kord.rest.builder.interaction/EntryPointModifyBuilder.handler|{}handler[0] + abstract fun (): dev.kord.common.entity/PrimaryEntryPointCommandHandlerType? // dev.kord.rest.builder.interaction/EntryPointModifyBuilder.handler.|(){}[0] +} + abstract interface dev.kord.rest.builder.interaction/GlobalApplicationCommandCreateBuilder : dev.kord.rest.builder.interaction/ApplicationCommandCreateBuilder { // dev.kord.rest.builder.interaction/GlobalApplicationCommandCreateBuilder|null[0] abstract var dmPermission // dev.kord.rest.builder.interaction/GlobalApplicationCommandCreateBuilder.dmPermission|{}dmPermission[0] abstract fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/GlobalApplicationCommandCreateBuilder.dmPermission.|(){}[0] @@ -298,6 +325,10 @@ abstract interface dev.kord.rest.builder.interaction/GlobalChatInputCreateBuilde abstract interface dev.kord.rest.builder.interaction/GlobalChatInputModifyBuilder : dev.kord.rest.builder.interaction/ChatInputModifyBuilder, dev.kord.rest.builder.interaction/GlobalApplicationCommandModifyBuilder // dev.kord.rest.builder.interaction/GlobalChatInputModifyBuilder|null[0] +abstract interface dev.kord.rest.builder.interaction/GlobalEntryPointCreateBuilder : dev.kord.rest.builder.interaction/EntryPointCreateBuilder, dev.kord.rest.builder.interaction/GlobalApplicationCommandCreateBuilder // dev.kord.rest.builder.interaction/GlobalEntryPointCreateBuilder|null[0] + +abstract interface dev.kord.rest.builder.interaction/GlobalEntryPointModifyBuilder : dev.kord.rest.builder.interaction/EntryPointModifyBuilder, dev.kord.rest.builder.interaction/GlobalApplicationCommandModifyBuilder // dev.kord.rest.builder.interaction/GlobalEntryPointModifyBuilder|null[0] + abstract interface dev.kord.rest.builder.interaction/GlobalMessageCommandCreateBuilder : dev.kord.rest.builder.interaction/GlobalApplicationCommandCreateBuilder, dev.kord.rest.builder.interaction/MessageCommandCreateBuilder // dev.kord.rest.builder.interaction/GlobalMessageCommandCreateBuilder|null[0] abstract interface dev.kord.rest.builder.interaction/GlobalMessageCommandModifyBuilder : dev.kord.rest.builder.interaction/GlobalApplicationCommandModifyBuilder, dev.kord.rest.builder.interaction/MessageCommandModifyBuilder // dev.kord.rest.builder.interaction/GlobalMessageCommandModifyBuilder|null[0] @@ -2184,6 +2215,9 @@ final class dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl : dev.k final val type // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.type|{}type[0] final fun (): dev.kord.common.entity/ApplicationCommandType // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.type.|(){}[0] + final var contexts // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] final var defaultMemberPermissions // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.defaultMemberPermissions.|(){}[0] final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] @@ -2199,6 +2233,9 @@ final class dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl : dev.k final var dmPermission // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.dmPermission|{}dmPermission[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.dmPermission.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] final var name // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.name|{}name[0] final fun (): kotlin/String // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.name.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.name.|(kotlin.String){}[0] @@ -2218,6 +2255,9 @@ final class dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl : dev.k final class dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl : dev.kord.rest.builder.interaction/GlobalChatInputModifyBuilder { // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl|null[0] constructor () // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.|(){}[0] + final var contexts // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] final var defaultMemberPermissions // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.defaultMemberPermissions.|(){}[0] final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] @@ -2233,6 +2273,9 @@ final class dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl : dev.k final var dmPermission // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.dmPermission|{}dmPermission[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.dmPermission.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] final var name // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.name|{}name[0] final fun (): kotlin/String? // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.name.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.name.|(kotlin.String?){}[0] @@ -2263,9 +2306,92 @@ final class dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder : dev.k final fun (kotlin.collections/MutableMap?) // dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder.nameLocalizations.|(kotlin.collections.MutableMap?){}[0] } +final class dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl : dev.kord.rest.builder.interaction/GlobalEntryPointCreateBuilder { // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl|null[0] + constructor (kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.|(kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType){}[0] + + final val handler // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.handler|{}handler[0] + final fun (): dev.kord.common.entity/PrimaryEntryPointCommandHandlerType // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.handler.|(){}[0] + final val type // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.type|{}type[0] + final fun (): dev.kord.common.entity/ApplicationCommandType // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.type.|(){}[0] + + final var contexts // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] + final var defaultMemberPermissions // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] + final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.defaultMemberPermissions.|(){}[0] + final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] + final var defaultPermission // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.defaultPermission|{}defaultPermission[0] + final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.defaultPermission.|(){}[0] + final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.defaultPermission.|(kotlin.Boolean?){}[0] + final var description // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.description|{}description[0] + final fun (): kotlin/String // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.description.|(){}[0] + final fun (kotlin/String) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.description.|(kotlin.String){}[0] + final var descriptionLocalizations // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.descriptionLocalizations|{}descriptionLocalizations[0] + final fun (): kotlin.collections/MutableMap? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.descriptionLocalizations.|(){}[0] + final fun (kotlin.collections/MutableMap?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.descriptionLocalizations.|(kotlin.collections.MutableMap?){}[0] + final var dmPermission // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.dmPermission|{}dmPermission[0] + final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.dmPermission.|(){}[0] + final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] + final var name // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.name|{}name[0] + final fun (): kotlin/String // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.name.|(){}[0] + final fun (kotlin/String) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.name.|(kotlin.String){}[0] + final var nameLocalizations // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.nameLocalizations|{}nameLocalizations[0] + final fun (): kotlin.collections/MutableMap? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.nameLocalizations.|(){}[0] + final fun (kotlin.collections/MutableMap?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.nameLocalizations.|(kotlin.collections.MutableMap?){}[0] + final var nsfw // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.nsfw|{}nsfw[0] + final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.nsfw.|(){}[0] + final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.nsfw.|(kotlin.Boolean?){}[0] + + final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandCreateRequest // dev.kord.rest.builder.interaction/EntryPointCreateBuilderImpl.toRequest|toRequest(){}[0] +} + +final class dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl : dev.kord.rest.builder.interaction/EntryPointModifyBuilder, dev.kord.rest.builder.interaction/GlobalEntryPointModifyBuilder { // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl|null[0] + constructor () // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.|(){}[0] + + final val handler // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.handler|{}handler[0] + final fun (): dev.kord.common.entity/PrimaryEntryPointCommandHandlerType? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.handler.|(){}[0] + + final var contexts // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] + final var defaultMemberPermissions // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] + final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.defaultMemberPermissions.|(){}[0] + final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] + final var defaultPermission // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.defaultPermission|{}defaultPermission[0] + final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.defaultPermission.|(){}[0] + final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.defaultPermission.|(kotlin.Boolean?){}[0] + final var description // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.description|{}description[0] + final fun (): kotlin/String? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.description.|(){}[0] + final fun (kotlin/String?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.description.|(kotlin.String?){}[0] + final var descriptionLocalizations // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.descriptionLocalizations|{}descriptionLocalizations[0] + final fun (): kotlin.collections/MutableMap? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.descriptionLocalizations.|(){}[0] + final fun (kotlin.collections/MutableMap?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.descriptionLocalizations.|(kotlin.collections.MutableMap?){}[0] + final var dmPermission // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.dmPermission|{}dmPermission[0] + final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.dmPermission.|(){}[0] + final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] + final var name // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.name|{}name[0] + final fun (): kotlin/String? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.name.|(){}[0] + final fun (kotlin/String?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.name.|(kotlin.String?){}[0] + final var nameLocalizations // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.nameLocalizations|{}nameLocalizations[0] + final fun (): kotlin.collections/MutableMap? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.nameLocalizations.|(){}[0] + final fun (kotlin.collections/MutableMap?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.nameLocalizations.|(kotlin.collections.MutableMap?){}[0] + final var nsfw // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.nsfw|{}nsfw[0] + final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.nsfw.|(){}[0] + final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.nsfw.|(kotlin.Boolean?){}[0] + + final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandModifyRequest // dev.kord.rest.builder.interaction/EntryPointModifyBuilderImpl.toRequest|toRequest(){}[0] +} + final class dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder : dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder { // dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder|null[0] constructor () // dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder.|(){}[0] + final inline fun (dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder).entryPoint(kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder.entryPoint|entryPoint@dev.kord.rest.builder.interaction.MultiApplicationCommandBuilder(kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType;kotlin.Function1){}[0] final inline fun input(kotlin/String, kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder.input|input(kotlin.String;kotlin.String;kotlin.Function1){}[0] final inline fun message(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder.message|message(kotlin.String;kotlin.Function1){}[0] final inline fun user(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder.user|user(kotlin.String;kotlin.Function1){}[0] @@ -2280,6 +2406,7 @@ final class dev.kord.rest.builder.interaction/GroupCommandBuilder : dev.kord.res final class dev.kord.rest.builder.interaction/GuildMultiApplicationCommandBuilder : dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder { // dev.kord.rest.builder.interaction/GuildMultiApplicationCommandBuilder|null[0] constructor () // dev.kord.rest.builder.interaction/GuildMultiApplicationCommandBuilder.|(){}[0] + final inline fun (dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder).entryPoint(kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType, kotlin/Function1) // dev.kord.rest.builder.interaction/GuildMultiApplicationCommandBuilder.entryPoint|entryPoint@dev.kord.rest.builder.interaction.MultiApplicationCommandBuilder(kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType;kotlin.Function1){}[0] final inline fun input(kotlin/String, kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/GuildMultiApplicationCommandBuilder.input|input(kotlin.String;kotlin.String;kotlin.Function1){}[0] final inline fun message(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/GuildMultiApplicationCommandBuilder.message|message(kotlin.String;kotlin.Function1){}[0] final inline fun user(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/GuildMultiApplicationCommandBuilder.user|user(kotlin.String;kotlin.Function1){}[0] @@ -2301,6 +2428,9 @@ final class dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl : final val type // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.type|{}type[0] final fun (): dev.kord.common.entity/ApplicationCommandType // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.type.|(){}[0] + final var contexts // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] final var defaultMemberPermissions // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.defaultMemberPermissions.|(){}[0] final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] @@ -2310,6 +2440,9 @@ final class dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl : final var dmPermission // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.dmPermission|{}dmPermission[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.dmPermission.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] final var name // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.name|{}name[0] final fun (): kotlin/String // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.name.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.name.|(kotlin.String){}[0] @@ -2326,6 +2459,9 @@ final class dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl : final class dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl : dev.kord.rest.builder.interaction/GlobalMessageCommandModifyBuilder { // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl|null[0] constructor () // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.|(){}[0] + final var contexts // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] final var defaultMemberPermissions // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.defaultMemberPermissions.|(){}[0] final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] @@ -2335,6 +2471,9 @@ final class dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl : final var dmPermission // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.dmPermission|{}dmPermission[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.dmPermission.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] final var name // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.name|{}name[0] final fun (): kotlin/String? // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.name.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.name.|(kotlin.String?){}[0] @@ -2403,6 +2542,9 @@ final class dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl : dev final val type // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.type|{}type[0] final fun (): dev.kord.common.entity/ApplicationCommandType // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.type.|(){}[0] + final var contexts // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] final var defaultMemberPermissions // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.defaultMemberPermissions.|(){}[0] final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] @@ -2412,6 +2554,9 @@ final class dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl : dev final var dmPermission // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.dmPermission|{}dmPermission[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.dmPermission.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] final var name // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.name|{}name[0] final fun (): kotlin/String // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.name.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.name.|(kotlin.String){}[0] @@ -2428,6 +2573,9 @@ final class dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl : dev final class dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl : dev.kord.rest.builder.interaction/GlobalUserCommandModifyBuilder { // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl|null[0] constructor () // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.|(){}[0] + final var contexts // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.contexts|{}contexts[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.contexts.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.contexts.|(kotlin.collections.MutableList?){}[0] final var defaultMemberPermissions // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity/Permissions? // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.defaultMemberPermissions.|(){}[0] final fun (dev.kord.common.entity/Permissions?) // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.defaultMemberPermissions.|(dev.kord.common.entity.Permissions?){}[0] @@ -2437,6 +2585,9 @@ final class dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl : dev final var dmPermission // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.dmPermission|{}dmPermission[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.dmPermission.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.dmPermission.|(kotlin.Boolean?){}[0] + final var integrationTypes // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.integrationTypes|{}integrationTypes[0] + final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.integrationTypes.|(){}[0] + final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.integrationTypes.|(kotlin.collections.MutableList?){}[0] final var name // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.name|{}name[0] final fun (): kotlin/String? // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.name.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.name.|(kotlin.String?){}[0] @@ -3063,8 +3214,10 @@ final class dev.kord.rest.builder.webhook/WebhookModifyBuilder : dev.kord.rest.b } final class dev.kord.rest.json.request/ApplicationCommandCreateRequest { // dev.kord.rest.json.request/ApplicationCommandCreateRequest|null[0] - constructor (kotlin/String, dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity/ApplicationCommandType, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ...) // dev.kord.rest.json.request/ApplicationCommandCreateRequest.|(kotlin.String;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.ApplicationCommandType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean){}[0] + constructor (kotlin/String, dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity/ApplicationCommandType, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.rest.json.request/ApplicationCommandCreateRequest.|(kotlin.String;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.ApplicationCommandType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional){}[0] + final val contexts // dev.kord.rest.json.request/ApplicationCommandCreateRequest.contexts|{}contexts[0] + final fun (): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandCreateRequest.contexts.|(){}[0] final val defaultMemberPermissions // dev.kord.rest.json.request/ApplicationCommandCreateRequest.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandCreateRequest.defaultMemberPermissions.|(){}[0] final val defaultPermission // dev.kord.rest.json.request/ApplicationCommandCreateRequest.defaultPermission|{}defaultPermission[0] @@ -3075,6 +3228,10 @@ final class dev.kord.rest.json.request/ApplicationCommandCreateRequest { // dev. final fun (): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandCreateRequest.descriptionLocalizations.|(){}[0] final val dmPermission // dev.kord.rest.json.request/ApplicationCommandCreateRequest.dmPermission|{}dmPermission[0] final fun (): dev.kord.common.entity.optional/OptionalBoolean? // dev.kord.rest.json.request/ApplicationCommandCreateRequest.dmPermission.|(){}[0] + final val handler // dev.kord.rest.json.request/ApplicationCommandCreateRequest.handler|{}handler[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandCreateRequest.handler.|(){}[0] + final val integrationTypes // dev.kord.rest.json.request/ApplicationCommandCreateRequest.integrationTypes|{}integrationTypes[0] + final fun (): dev.kord.common.entity.optional/Optional> // dev.kord.rest.json.request/ApplicationCommandCreateRequest.integrationTypes.|(){}[0] final val name // dev.kord.rest.json.request/ApplicationCommandCreateRequest.name|{}name[0] final fun (): kotlin/String // dev.kord.rest.json.request/ApplicationCommandCreateRequest.name.|(){}[0] final val nameLocalizations // dev.kord.rest.json.request/ApplicationCommandCreateRequest.nameLocalizations|{}nameLocalizations[0] @@ -3088,6 +3245,9 @@ final class dev.kord.rest.json.request/ApplicationCommandCreateRequest { // dev. final fun component1(): kotlin/String // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component1|component1(){}[0] final fun component10(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component10|component10(){}[0] + final fun component11(): dev.kord.common.entity.optional/Optional> // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component11|component11(){}[0] + final fun component12(): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component12|component12(){}[0] + final fun component13(): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component13|component13(){}[0] final fun component2(): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component2|component2(){}[0] final fun component3(): dev.kord.common.entity/ApplicationCommandType // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component3|component3(){}[0] final fun component4(): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component4|component4(){}[0] @@ -3096,7 +3256,7 @@ final class dev.kord.rest.json.request/ApplicationCommandCreateRequest { // dev. final fun component7(): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/OptionalBoolean? // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.rest.json.request/ApplicationCommandCreateRequest.component9|component9(){}[0] - final fun copy(kotlin/String = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity/ApplicationCommandType = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ...): dev.kord.rest.json.request/ApplicationCommandCreateRequest // dev.kord.rest.json.request/ApplicationCommandCreateRequest.copy|copy(kotlin.String;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.ApplicationCommandType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean){}[0] + final fun copy(kotlin/String = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity/ApplicationCommandType = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.rest.json.request/ApplicationCommandCreateRequest // dev.kord.rest.json.request/ApplicationCommandCreateRequest.copy|copy(kotlin.String;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.ApplicationCommandType;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.json.request/ApplicationCommandCreateRequest.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.rest.json.request/ApplicationCommandCreateRequest.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.rest.json.request/ApplicationCommandCreateRequest.toString|toString(){}[0] @@ -3118,8 +3278,10 @@ final class dev.kord.rest.json.request/ApplicationCommandCreateRequest { // dev. } final class dev.kord.rest.json.request/ApplicationCommandModifyRequest { // dev.kord.rest.json.request/ApplicationCommandModifyRequest|null[0] - constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ...) // dev.kord.rest.json.request/ApplicationCommandModifyRequest.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean){}[0] + constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.rest.json.request/ApplicationCommandModifyRequest.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional){}[0] + final val contexts // dev.kord.rest.json.request/ApplicationCommandModifyRequest.contexts|{}contexts[0] + final fun (): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.contexts.|(){}[0] final val defaultMemberPermissions // dev.kord.rest.json.request/ApplicationCommandModifyRequest.defaultMemberPermissions|{}defaultMemberPermissions[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandModifyRequest.defaultMemberPermissions.|(){}[0] final val defaultPermission // dev.kord.rest.json.request/ApplicationCommandModifyRequest.defaultPermission|{}defaultPermission[0] @@ -3130,6 +3292,10 @@ final class dev.kord.rest.json.request/ApplicationCommandModifyRequest { // dev. final fun (): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.descriptionLocalizations.|(){}[0] final val dmPermission // dev.kord.rest.json.request/ApplicationCommandModifyRequest.dmPermission|{}dmPermission[0] final fun (): dev.kord.common.entity.optional/OptionalBoolean? // dev.kord.rest.json.request/ApplicationCommandModifyRequest.dmPermission.|(){}[0] + final val handler // dev.kord.rest.json.request/ApplicationCommandModifyRequest.handler|{}handler[0] + final fun (): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandModifyRequest.handler.|(){}[0] + final val integrationTypes // dev.kord.rest.json.request/ApplicationCommandModifyRequest.integrationTypes|{}integrationTypes[0] + final fun (): dev.kord.common.entity.optional/Optional> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.integrationTypes.|(){}[0] final val name // dev.kord.rest.json.request/ApplicationCommandModifyRequest.name|{}name[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandModifyRequest.name.|(){}[0] final val nameLocalizations // dev.kord.rest.json.request/ApplicationCommandModifyRequest.nameLocalizations|{}nameLocalizations[0] @@ -3140,6 +3306,9 @@ final class dev.kord.rest.json.request/ApplicationCommandModifyRequest { // dev. final fun (): dev.kord.common.entity.optional/Optional> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.options.|(){}[0] final fun component1(): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component1|component1(){}[0] + final fun component10(): dev.kord.common.entity.optional/Optional> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component10|component10(){}[0] + final fun component11(): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component11|component11(){}[0] + final fun component12(): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component12|component12(){}[0] final fun component2(): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component2|component2(){}[0] final fun component3(): dev.kord.common.entity.optional/Optional // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component3|component3(){}[0] final fun component4(): dev.kord.common.entity.optional/Optional?> // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component4|component4(){}[0] @@ -3148,7 +3317,7 @@ final class dev.kord.rest.json.request/ApplicationCommandModifyRequest { // dev. final fun component7(): dev.kord.common.entity.optional/OptionalBoolean? // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.rest.json.request/ApplicationCommandModifyRequest.component9|component9(){}[0] - final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ...): dev.kord.rest.json.request/ApplicationCommandModifyRequest // dev.kord.rest.json.request/ApplicationCommandModifyRequest.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean){}[0] + final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean? = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional> = ..., dev.kord.common.entity.optional/Optional?> = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.rest.json.request/ApplicationCommandModifyRequest // dev.kord.rest.json.request/ApplicationCommandModifyRequest.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean?;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional>;dev.kord.common.entity.optional.Optional?>;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.json.request/ApplicationCommandModifyRequest.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.rest.json.request/ApplicationCommandModifyRequest.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.rest.json.request/ApplicationCommandModifyRequest.toString|toString(){}[0] @@ -6902,10 +7071,12 @@ final class dev.kord.rest.service/InteractionService : dev.kord.rest.service/Res final suspend inline fun createGlobalApplicationCommands(dev.kord.common.entity/Snowflake, kotlin/Function1): kotlin.collections/List // dev.kord.rest.service/InteractionService.createGlobalApplicationCommands|createGlobalApplicationCommands(dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun createGlobalChatInputApplicationCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGlobalChatInputApplicationCommand|createGlobalChatInputApplicationCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Function1){}[0] final suspend inline fun createGlobalMessageCommandApplicationCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGlobalMessageCommandApplicationCommand|createGlobalMessageCommandApplicationCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] + final suspend inline fun createGlobalPrimaryEntryPointCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGlobalPrimaryEntryPointCommand|createGlobalPrimaryEntryPointCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType;kotlin.Function1){}[0] final suspend inline fun createGlobalUserCommandApplicationCommand(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGlobalUserCommandApplicationCommand|createGlobalUserCommandApplicationCommand(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] final suspend inline fun createGuildApplicationCommands(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): kotlin.collections/List // dev.kord.rest.service/InteractionService.createGuildApplicationCommands|createGuildApplicationCommands(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun createGuildChatInputApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGuildChatInputApplicationCommand|createGuildChatInputApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;kotlin.Function1){}[0] final suspend inline fun createGuildMessageCommandApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGuildMessageCommandApplicationCommand|createGuildMessageCommandApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] + final suspend inline fun createGuildPrimaryEntryPointCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGuildPrimaryEntryPointCommand|createGuildPrimaryEntryPointCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType;kotlin.Function1){}[0] final suspend inline fun createGuildUserCommandApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1 = ...): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.createGuildUserCommandApplicationCommand|createGuildUserCommandApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] final suspend inline fun createIntAutoCompleteInteractionResponse(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1) // dev.kord.rest.service/InteractionService.createIntAutoCompleteInteractionResponse|createIntAutoCompleteInteractionResponse(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] final suspend inline fun createInteractionResponse(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Boolean = ..., kotlin/Function1) // dev.kord.rest.service/InteractionService.createInteractionResponse|createInteractionResponse(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Boolean;kotlin.Function1){}[0] @@ -6915,9 +7086,11 @@ final class dev.kord.rest.service/InteractionService : dev.kord.rest.service/Res final suspend inline fun modifyFollowupMessage(dev.kord.common.entity/Snowflake, kotlin/String, dev.kord.common.entity/Snowflake, kotlin/Function1 = ...): dev.kord.common.entity/DiscordMessage // dev.kord.rest.service/InteractionService.modifyFollowupMessage|modifyFollowupMessage(dev.kord.common.entity.Snowflake;kotlin.String;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun modifyGlobalChatInputApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGlobalChatInputApplicationCommand|modifyGlobalChatInputApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun modifyGlobalMessageApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGlobalMessageApplicationCommand|modifyGlobalMessageApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] + final suspend inline fun modifyGlobalPrimaryEntryPointApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGlobalPrimaryEntryPointApplicationCommand|modifyGlobalPrimaryEntryPointApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun modifyGlobalUserApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGlobalUserApplicationCommand|modifyGlobalUserApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun modifyGuildChatInputApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGuildChatInputApplicationCommand|modifyGuildChatInputApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun modifyGuildMessageApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGuildMessageApplicationCommand|modifyGuildMessageApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] + final suspend inline fun modifyGuildPrimaryEntryPointApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGuildPrimaryEntryPointApplicationCommand|modifyGuildPrimaryEntryPointApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun modifyGuildUserApplicationCommand(dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, kotlin/Function1): dev.kord.common.entity/DiscordApplicationCommand // dev.kord.rest.service/InteractionService.modifyGuildUserApplicationCommand|modifyGuildUserApplicationCommand(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] final suspend inline fun modifyInteractionResponse(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1): dev.kord.common.entity/DiscordMessage // dev.kord.rest.service/InteractionService.modifyInteractionResponse|modifyInteractionResponse(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] } @@ -8101,6 +8274,7 @@ final inline fun (dev.kord.rest.builder.interaction/BaseInputChatBuilder).dev.ko final inline fun (dev.kord.rest.builder.interaction/BaseInputChatBuilder).dev.kord.rest.builder.interaction/role(kotlin/String, kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/role|role@dev.kord.rest.builder.interaction.BaseInputChatBuilder(kotlin.String;kotlin.String;kotlin.Function1){}[0] final inline fun (dev.kord.rest.builder.interaction/BaseInputChatBuilder).dev.kord.rest.builder.interaction/string(kotlin/String, kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/string|string@dev.kord.rest.builder.interaction.BaseInputChatBuilder(kotlin.String;kotlin.String;kotlin.Function1){}[0] final inline fun (dev.kord.rest.builder.interaction/BaseInputChatBuilder).dev.kord.rest.builder.interaction/user(kotlin/String, kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/user|user@dev.kord.rest.builder.interaction.BaseInputChatBuilder(kotlin.String;kotlin.String;kotlin.Function1){}[0] +final inline fun (dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder).dev.kord.rest.builder.interaction/entryPoint(kotlin/String, kotlin/String, dev.kord.common.entity/PrimaryEntryPointCommandHandlerType, kotlin/Function1) // dev.kord.rest.builder.interaction/entryPoint|entryPoint@dev.kord.rest.builder.interaction.MultiApplicationCommandBuilder(kotlin.String;kotlin.String;dev.kord.common.entity.PrimaryEntryPointCommandHandlerType;kotlin.Function1){}[0] final inline fun (dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder).dev.kord.rest.builder.interaction/input(kotlin/String, kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/input|input@dev.kord.rest.builder.interaction.MultiApplicationCommandBuilder(kotlin.String;kotlin.String;kotlin.Function1){}[0] final inline fun (dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder).dev.kord.rest.builder.interaction/message(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/message|message@dev.kord.rest.builder.interaction.MultiApplicationCommandBuilder(kotlin.String;kotlin.Function1){}[0] final inline fun (dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder).dev.kord.rest.builder.interaction/user(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.interaction/user|user@dev.kord.rest.builder.interaction.MultiApplicationCommandBuilder(kotlin.String;kotlin.Function1){}[0] diff --git a/rest/src/commonMain/kotlin/builder/channel/InviteCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/InviteCreateBuilder.kt index 994e3b61650..52b75199eaa 100644 --- a/rest/src/commonMain/kotlin/builder/channel/InviteCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/InviteCreateBuilder.kt @@ -1,7 +1,6 @@ package dev.kord.rest.builder.channel import dev.kord.common.annotation.KordDsl -import dev.kord.common.entity.ApplicationFlag import dev.kord.common.entity.InviteTargetType import dev.kord.common.entity.Snowflake import dev.kord.common.entity.optional.* diff --git a/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt index 3a3aad2f695..37cdce7560f 100644 --- a/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt @@ -1,10 +1,10 @@ package dev.kord.rest.builder.guild -import dev.kord.rest.builder.AuditRequestBuilder import dev.kord.common.annotation.KordDsl import dev.kord.common.entity.Snowflake import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.delegate.delegate +import dev.kord.rest.builder.AuditRequestBuilder import dev.kord.rest.json.request.EmojiModifyRequest @KordDsl diff --git a/rest/src/commonMain/kotlin/builder/guild/StickerModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/guild/StickerModifyBuilder.kt index 3e3cfb7d128..3fa51da5246 100644 --- a/rest/src/commonMain/kotlin/builder/guild/StickerModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/guild/StickerModifyBuilder.kt @@ -2,9 +2,9 @@ package dev.kord.rest.builder.guild import dev.kord.common.annotation.KordDsl import dev.kord.common.entity.optional.Optional +import dev.kord.common.entity.optional.delegate.delegate import dev.kord.rest.builder.RequestBuilder import dev.kord.rest.json.request.GuildStickerModifyRequest -import dev.kord.common.entity.optional.delegate.delegate @KordDsl public class StickerModifyBuilder : RequestBuilder { diff --git a/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandBuilders.kt b/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandBuilders.kt index ce01d46a1c1..653eb4a8302 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandBuilders.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandBuilders.kt @@ -2,6 +2,8 @@ package dev.kord.rest.builder.interaction import dev.kord.common.annotation.KordDsl import dev.kord.common.entity.ApplicationCommandType +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.InteractionContextType import dev.kord.common.entity.Permissions import dev.kord.rest.builder.RequestBuilder import dev.kord.rest.json.request.ApplicationCommandCreateRequest @@ -15,6 +17,12 @@ public interface ApplicationCommandCreateBuilder : LocalizedNameCreateBuilder, @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") public var defaultPermission: Boolean? + /** Indicates whether the command is age-restricted. Defaults to `false`. */ + public var nsfw: Boolean? + /** [IntegrationTypes][ApplicationIntegrationType] the command is available in. */ + public var integrationTypes: MutableList? + /** [InteractionContextTypes][InteractionContextType] the command is available in. */ + public var contexts: MutableList? public val type: ApplicationCommandType /** @@ -26,17 +34,30 @@ public interface ApplicationCommandCreateBuilder : LocalizedNameCreateBuilder, defaultMemberPermissions = Permissions() } - /** Indicates whether the command is age-restricted. Defaults to `false`. */ - public var nsfw: Boolean? + /** + * Requires this command to be executed in a specific [installation context][ApplicationIntegrationType]. + */ + public fun requireIntegrationTypes(vararg types: ApplicationIntegrationType) { + integrationTypes?.addAll(types) ?: run { integrationTypes = types.toMutableList() } + } + + /** + * Requires this command to be executed in a specific [interaction context][InteractionContextType]. + */ + public fun requireContext(vararg types: InteractionContextType) { + contexts?.addAll(types) ?: run { contexts = types.toMutableList() } + } } @KordDsl public interface GlobalApplicationCommandCreateBuilder : ApplicationCommandCreateBuilder { + @Deprecated("Deprecated in favor of contexts", ReplaceWith("requireContext(InteractionContextType.Guild)")) public var dmPermission: Boolean? } @KordDsl public interface GlobalApplicationCommandModifyBuilder : ApplicationCommandModifyBuilder { + @Deprecated("Deprecated in favor of contexts", ReplaceWith("requireContext(InteractionContextType.Guild)")) public var dmPermission: Boolean? } @@ -51,4 +72,22 @@ public interface ApplicationCommandModifyBuilder : LocalizedNameModifyBuilder, /** Indicates whether the command is age-restricted. */ public var nsfw: Boolean? + /** [IntegrationTypes][ApplicationIntegrationType] the command is available in. */ + public var integrationTypes: MutableList? + /** [InteractionContextTypes][InteractionContextType] the command is available in. */ + public var contexts: MutableList? + + /** + * Requires this command to be executed in a specific [installation context][ApplicationIntegrationType]. + */ + public fun requireIntegrationTypes(vararg types: ApplicationIntegrationType) { + integrationTypes?.addAll(types) ?: run { integrationTypes = types.toMutableList() } + } + + /** + * Requires this command to be executed in a specific [interaction context][InteractionContextType]. + */ + public fun requireContext(vararg types: InteractionContextType) { + contexts?.addAll(types) ?: run { contexts = types.toMutableList() } + } } diff --git a/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandStateHolder.kt b/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandStateHolder.kt index 211491d7b07..8218cbbb98a 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandStateHolder.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/ApplicationCommandStateHolder.kt @@ -1,6 +1,9 @@ package dev.kord.rest.builder.interaction import dev.kord.common.Locale +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.PrimaryEntryPointCommandHandlerType +import dev.kord.common.entity.InteractionContextType import dev.kord.common.entity.Permissions import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalBoolean @@ -23,7 +26,10 @@ internal class ApplicationCommandModifyStateHolder { var defaultMemberPermissions: Optional = Optional.Missing() var dmPermission: OptionalBoolean? = OptionalBoolean.Missing + var integrationTypes: Optional> = Optional.Missing() + var contexts: Optional> = Optional.Missing() + var handler: Optional = Optional.Missing() @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") @SerialName("default_permission") diff --git a/rest/src/commonMain/kotlin/builder/interaction/EntryPointBuilders.kt b/rest/src/commonMain/kotlin/builder/interaction/EntryPointBuilders.kt new file mode 100644 index 00000000000..83cad430717 --- /dev/null +++ b/rest/src/commonMain/kotlin/builder/interaction/EntryPointBuilders.kt @@ -0,0 +1,113 @@ +package dev.kord.rest.builder.interaction + +import dev.kord.common.Locale +import dev.kord.common.annotation.KordDsl +import dev.kord.common.entity.ApplicationCommandType +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.PrimaryEntryPointCommandHandlerType +import dev.kord.common.entity.InteractionContextType +import dev.kord.common.entity.Permissions +import dev.kord.common.entity.optional.Optional +import dev.kord.common.entity.optional.Optional.Companion.missingOnEmpty +import dev.kord.common.entity.optional.delegate.delegate +import dev.kord.common.entity.optional.mapList +import dev.kord.rest.json.request.ApplicationCommandCreateRequest +import dev.kord.rest.json.request.ApplicationCommandModifyRequest + +@KordDsl +public interface EntryPointCreateBuilder : ApplicationCommandCreateBuilder, LocalizedDescriptionCreateBuilder { + public val handler: PrimaryEntryPointCommandHandlerType? +} + +@KordDsl +public interface GlobalEntryPointCreateBuilder : GlobalApplicationCommandCreateBuilder, EntryPointCreateBuilder + +@KordDsl +public interface EntryPointModifyBuilder : ApplicationCommandModifyBuilder, LocalizedDescriptionModifyBuilder { + public val handler: PrimaryEntryPointCommandHandlerType? +} + +@KordDsl +public interface GlobalEntryPointModifyBuilder : GlobalApplicationCommandModifyBuilder, EntryPointModifyBuilder + +@PublishedApi +internal class EntryPointCreateBuilderImpl( + override var name: String, + override var description: String, + override val handler: PrimaryEntryPointCommandHandlerType +) : GlobalEntryPointCreateBuilder { + private val state = ApplicationCommandModifyStateHolder() + + override var nameLocalizations: MutableMap? by state::nameLocalizations.delegate() + override var descriptionLocalizations: MutableMap? by state::descriptionLocalizations.delegate() + + override val type: ApplicationCommandType + get() = ApplicationCommandType.PrimaryEntryPoint + + override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + + @Suppress("OVERRIDE_DEPRECATION") + override var dmPermission: Boolean? by state::dmPermission.delegate() + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() + + @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") + override var defaultPermission: Boolean? by @Suppress("DEPRECATION") state::defaultPermission.delegate() + + override var nsfw: Boolean? by state::nsfw.delegate() + + override fun toRequest(): ApplicationCommandCreateRequest { + return ApplicationCommandCreateRequest( + name, + state.nameLocalizations, + type, + Optional.Value(description), + state.descriptionLocalizations, + state.options.mapList { it.toRequest() }, + state.defaultMemberPermissions, + state.dmPermission, + @Suppress("DEPRECATION") state.defaultPermission, + nsfw = state.nsfw, + integrationTypes = state.integrationTypes.missingOnEmpty(), + contexts = state.contexts.missingOnEmpty(), + handler = Optional.Value(handler) + ) + } +} + +@PublishedApi +internal class EntryPointModifyBuilderImpl : GlobalEntryPointModifyBuilder, EntryPointModifyBuilder { + private val state = ApplicationCommandModifyStateHolder() + override var name: String? by state::name.delegate() + override var nameLocalizations: MutableMap? by state::nameLocalizations.delegate() + + override var description: String? by state::description.delegate() + override var descriptionLocalizations: MutableMap? by state::descriptionLocalizations.delegate() + + override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + + @Suppress("OVERRIDE_DEPRECATION") + override var dmPermission: Boolean? by state::dmPermission.delegate() + + @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") + override var defaultPermission: Boolean? by @Suppress("DEPRECATION") state::defaultPermission.delegate() + + override var nsfw: Boolean? by state::nsfw.delegate() + + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() + override val handler: PrimaryEntryPointCommandHandlerType? by state::handler.delegate() + + override fun toRequest(): ApplicationCommandModifyRequest = ApplicationCommandModifyRequest( + state.name, + state.nameLocalizations, + state.description, + state.descriptionLocalizations, + defaultMemberPermissions = state.defaultMemberPermissions, + dmPermission = state.dmPermission, + nsfw = state.nsfw, + integrationTypes = state.integrationTypes.missingOnEmpty(), + contexts = state.contexts.missingOnEmpty(), + handler = state.handler + ) +} diff --git a/rest/src/commonMain/kotlin/builder/interaction/InputChatBuilders.kt b/rest/src/commonMain/kotlin/builder/interaction/InputChatBuilders.kt index dbd3c150f5c..d7d7399073a 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/InputChatBuilders.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/InputChatBuilders.kt @@ -3,8 +3,11 @@ package dev.kord.rest.builder.interaction import dev.kord.common.Locale import dev.kord.common.annotation.KordDsl import dev.kord.common.entity.ApplicationCommandType +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.InteractionContextType import dev.kord.common.entity.Permissions import dev.kord.common.entity.optional.Optional +import dev.kord.common.entity.optional.Optional.Companion.missingOnEmpty import dev.kord.common.entity.optional.delegate.delegate import dev.kord.common.entity.optional.mapList import dev.kord.rest.json.request.ApplicationCommandCreateRequest @@ -147,7 +150,11 @@ internal class ChatInputCreateBuilderImpl( override var options: MutableList? by state::options.delegate() override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + + @Suppress("OVERRIDE_DEPRECATION") override var dmPermission: Boolean? by state::dmPermission.delegate() + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") override var defaultPermission: Boolean? by @Suppress("DEPRECATION") state::defaultPermission.delegate() @@ -166,6 +173,8 @@ internal class ChatInputCreateBuilderImpl( state.dmPermission, @Suppress("DEPRECATION") state.defaultPermission, nsfw = state.nsfw, + integrationTypes = state.integrationTypes.missingOnEmpty(), + contexts = state.contexts.missingOnEmpty(), ) } @@ -192,6 +201,7 @@ internal class ChatInputModifyBuilderImpl : GlobalChatInputModifyBuilder { override var options: MutableList? by state::options.delegate() override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + @Suppress("OVERRIDE_DEPRECATION") override var dmPermission: Boolean? by state::dmPermission.delegate() @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") @@ -199,6 +209,9 @@ internal class ChatInputModifyBuilderImpl : GlobalChatInputModifyBuilder { override var nsfw: Boolean? by state::nsfw.delegate() + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() + override fun toRequest(): ApplicationCommandModifyRequest { return ApplicationCommandModifyRequest( state.name, @@ -210,6 +223,8 @@ internal class ChatInputModifyBuilderImpl : GlobalChatInputModifyBuilder { state.dmPermission, @Suppress("DEPRECATION") state.defaultPermission, nsfw = state.nsfw, + integrationTypes = state.integrationTypes, + contexts = state.contexts, ) } diff --git a/rest/src/commonMain/kotlin/builder/interaction/MessageCommandBuilders.kt b/rest/src/commonMain/kotlin/builder/interaction/MessageCommandBuilders.kt index 70b2676b48c..01204a62b23 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/MessageCommandBuilders.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/MessageCommandBuilders.kt @@ -3,7 +3,10 @@ package dev.kord.rest.builder.interaction import dev.kord.common.Locale import dev.kord.common.annotation.KordDsl import dev.kord.common.entity.ApplicationCommandType +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.InteractionContextType import dev.kord.common.entity.Permissions +import dev.kord.common.entity.optional.Optional.Companion.missingOnEmpty import dev.kord.common.entity.optional.delegate.delegate import dev.kord.rest.json.request.ApplicationCommandCreateRequest import dev.kord.rest.json.request.ApplicationCommandModifyRequest @@ -24,6 +27,7 @@ internal class MessageCommandModifyBuilderImpl : GlobalMessageCommandModifyBuild override var nameLocalizations: MutableMap? by state::nameLocalizations.delegate() override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + @Suppress("OVERRIDE_DEPRECATION") override var dmPermission: Boolean? by state::dmPermission.delegate() @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") @@ -31,6 +35,9 @@ internal class MessageCommandModifyBuilderImpl : GlobalMessageCommandModifyBuild override var nsfw: Boolean? by state::nsfw.delegate() + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() + override fun toRequest(): ApplicationCommandModifyRequest { return ApplicationCommandModifyRequest( name = state.name, @@ -39,10 +46,10 @@ internal class MessageCommandModifyBuilderImpl : GlobalMessageCommandModifyBuild defaultMemberPermissions = state.defaultMemberPermissions, defaultPermission = @Suppress("DEPRECATION") state.defaultPermission, nsfw = state.nsfw, + integrationTypes = state.integrationTypes.missingOnEmpty(), + contexts = state.contexts.missingOnEmpty(), ) - } - } @KordDsl @@ -62,7 +69,10 @@ internal class MessageCommandCreateBuilderImpl(override var name: String) : Glob override var nameLocalizations: MutableMap? by state::nameLocalizations.delegate() override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + @Suppress("OVERRIDE_DEPRECATION") override var dmPermission: Boolean? by state::dmPermission.delegate() + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") override var defaultPermission: Boolean? by @Suppress("DEPRECATION") state::defaultPermission.delegate() @@ -78,6 +88,8 @@ internal class MessageCommandCreateBuilderImpl(override var name: String) : Glob defaultMemberPermissions = state.defaultMemberPermissions, defaultPermission = @Suppress("DEPRECATION") state.defaultPermission, nsfw = state.nsfw, + integrationTypes = state.integrationTypes.missingOnEmpty(), + contexts = state.contexts.missingOnEmpty(), ) } } diff --git a/rest/src/commonMain/kotlin/builder/interaction/MultiApplicationCommandBuilder.kt b/rest/src/commonMain/kotlin/builder/interaction/MultiApplicationCommandBuilder.kt index 907cb3826f5..b3ff65d6171 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/MultiApplicationCommandBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/MultiApplicationCommandBuilder.kt @@ -1,6 +1,7 @@ package dev.kord.rest.builder.interaction import dev.kord.common.annotation.KordDsl +import dev.kord.common.entity.PrimaryEntryPointCommandHandlerType import dev.kord.rest.json.request.ApplicationCommandCreateRequest import kotlin.contracts.InvocationKind import kotlin.contracts.contract @@ -13,6 +14,7 @@ public sealed class MultiApplicationCommandBuilder { return commands.map { it.toRequest() } } } + public inline fun MultiApplicationCommandBuilder.input( name: String, description: String, @@ -30,12 +32,16 @@ public inline fun MultiApplicationCommandBuilder.message( commands += MessageCommandCreateBuilderImpl(name).apply(builder) } - public inline fun MultiApplicationCommandBuilder.user(name: String, builder: UserCommandCreateBuilder.() -> Unit = {}) { contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } commands += UserCommandCreateBuilderImpl(name).apply(builder) } +public inline fun MultiApplicationCommandBuilder.entryPoint(name: String, description: String, handler: PrimaryEntryPointCommandHandlerType, builder: EntryPointCreateBuilder.() -> Unit) { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + commands += EntryPointCreateBuilderImpl(name, description, handler).apply(builder) +} + @KordDsl public class GlobalMultiApplicationCommandBuilder : MultiApplicationCommandBuilder() { public inline fun input(name: String, description: String, builder: GlobalChatInputCreateBuilder.() -> Unit = {}) { @@ -53,6 +59,11 @@ public class GlobalMultiApplicationCommandBuilder : MultiApplicationCommandBuild contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } commands += UserCommandCreateBuilderImpl(name).apply(builder) } + + public inline fun MultiApplicationCommandBuilder.entryPoint(name: String, description: String, handler: PrimaryEntryPointCommandHandlerType, builder: GlobalEntryPointCreateBuilder.() -> Unit = {}) { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + commands += EntryPointCreateBuilderImpl(name, description, handler).apply(builder) + } } @KordDsl @@ -72,4 +83,9 @@ public class GuildMultiApplicationCommandBuilder : MultiApplicationCommandBuilde contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } commands += UserCommandCreateBuilderImpl(name).apply(builder) } + + public inline fun MultiApplicationCommandBuilder.entryPoint(name: String, description: String, handler: PrimaryEntryPointCommandHandlerType, builder: EntryPointCreateBuilder.() -> Unit) { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + commands += EntryPointCreateBuilderImpl(name, description, handler).apply(builder) + } } diff --git a/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt b/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt index 12a7383749b..c77e30dc0da 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt @@ -3,7 +3,10 @@ package dev.kord.rest.builder.interaction import dev.kord.common.Locale import dev.kord.common.annotation.KordDsl import dev.kord.common.entity.ApplicationCommandType +import dev.kord.common.entity.ApplicationIntegrationType +import dev.kord.common.entity.InteractionContextType import dev.kord.common.entity.Permissions +import dev.kord.common.entity.optional.Optional.Companion.missingOnEmpty import dev.kord.common.entity.optional.delegate.delegate import dev.kord.rest.json.request.ApplicationCommandCreateRequest import dev.kord.rest.json.request.ApplicationCommandModifyRequest @@ -23,6 +26,7 @@ internal class UserCommandModifyBuilderImpl : GlobalUserCommandModifyBuilder { override var nameLocalizations: MutableMap? by state::nameLocalizations.delegate() override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + @Suppress("OVERRIDE_DEPRECATION") override var dmPermission: Boolean? by state::dmPermission.delegate() @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") @@ -30,6 +34,9 @@ internal class UserCommandModifyBuilderImpl : GlobalUserCommandModifyBuilder { override var nsfw: Boolean? by state::nsfw.delegate() + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() + override fun toRequest(): ApplicationCommandModifyRequest { return ApplicationCommandModifyRequest( name = state.name, @@ -38,6 +45,8 @@ internal class UserCommandModifyBuilderImpl : GlobalUserCommandModifyBuilder { defaultMemberPermissions = state.defaultMemberPermissions, defaultPermission = @Suppress("DEPRECATION") state.defaultPermission, nsfw = state.nsfw, + integrationTypes = state.integrationTypes.missingOnEmpty(), + contexts = state.contexts.missingOnEmpty(), ) } } @@ -57,7 +66,10 @@ internal class UserCommandCreateBuilderImpl(override var name: String) : GlobalU override var nameLocalizations: MutableMap? by state::nameLocalizations.delegate() override var defaultMemberPermissions: Permissions? by state::defaultMemberPermissions.delegate() + @Suppress("OVERRIDE_DEPRECATION") override var dmPermission: Boolean? by state::dmPermission.delegate() + override var integrationTypes: MutableList? by state::integrationTypes.delegate() + override var contexts: MutableList? by state::contexts.delegate() @Deprecated("'defaultPermission' is deprecated in favor of 'defaultMemberPermissions' and 'dmPermission'. Setting 'defaultPermission' to false can be replaced by setting 'defaultMemberPermissions' to empty Permissions and 'dmPermission' to false ('dmPermission' is only available for global commands).") override var defaultPermission: Boolean? by @Suppress("DEPRECATION") state::defaultPermission.delegate() @@ -73,6 +85,8 @@ internal class UserCommandCreateBuilderImpl(override var name: String) : GlobalU dmPermission = state.dmPermission, defaultPermission = @Suppress("DEPRECATION") state.defaultPermission, nsfw = state.nsfw, + integrationTypes = state.integrationTypes.missingOnEmpty(), + contexts = state.contexts.missingOnEmpty(), ) } } diff --git a/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt index 1dd3079941f..6cc157db773 100644 --- a/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt @@ -2,7 +2,6 @@ package dev.kord.rest.builder.role import dev.kord.common.Color import dev.kord.common.annotation.KordDsl -import dev.kord.common.entity.GuildFeature import dev.kord.common.entity.Permissions import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalBoolean diff --git a/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt index 72632f517d4..263ffadaa3f 100644 --- a/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt @@ -2,7 +2,6 @@ package dev.kord.rest.builder.role import dev.kord.common.Color import dev.kord.common.annotation.KordDsl -import dev.kord.common.entity.GuildFeature import dev.kord.common.entity.Permissions import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalBoolean diff --git a/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt index 96206f8133d..47c75aac906 100644 --- a/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt @@ -1,8 +1,8 @@ package dev.kord.rest.builder.role -import dev.kord.rest.builder.AuditRequestBuilder import dev.kord.common.annotation.KordDsl import dev.kord.common.entity.Snowflake +import dev.kord.rest.builder.AuditRequestBuilder import dev.kord.rest.json.request.GuildRolePositionModifyRequest @KordDsl diff --git a/rest/src/commonMain/kotlin/json/request/InteractionsRequests.kt b/rest/src/commonMain/kotlin/json/request/InteractionsRequests.kt index f48beda6d53..8b104378464 100644 --- a/rest/src/commonMain/kotlin/json/request/InteractionsRequests.kt +++ b/rest/src/commonMain/kotlin/json/request/InteractionsRequests.kt @@ -26,6 +26,10 @@ public data class ApplicationCommandCreateRequest( @SerialName("default_permission") val defaultPermission: OptionalBoolean = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, + @SerialName("integration_types") + val integrationTypes: Optional> = Optional.Missing(), + val contexts: Optional?> = Optional.Missing(), + val handler: Optional = Optional.Missing() ) @Serializable @@ -45,6 +49,10 @@ public data class ApplicationCommandModifyRequest( @SerialName("default_permission") val defaultPermission: OptionalBoolean = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, + @SerialName("integration_types") + val integrationTypes: Optional> = Optional.Missing(), + val contexts: Optional?> = Optional.Missing(), + val handler: Optional = Optional.Missing() ) @Serializable diff --git a/rest/src/commonMain/kotlin/service/InteractionService.kt b/rest/src/commonMain/kotlin/service/InteractionService.kt index bb0a1ec086f..87c2232e02a 100644 --- a/rest/src/commonMain/kotlin/service/InteractionService.kt +++ b/rest/src/commonMain/kotlin/service/InteractionService.kt @@ -477,6 +477,38 @@ public class InteractionService(requestHandler: RequestHandler) : RestService(re ) } + public suspend inline fun createGuildPrimaryEntryPointCommand( + applicationId: Snowflake, + guildId: Snowflake, + name: String, + description: String, + handler: PrimaryEntryPointCommandHandlerType, + builder: EntryPointCreateBuilder.() -> Unit = {} + ): DiscordApplicationCommand { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + + return createGuildApplicationCommand( + applicationId, + guildId, + EntryPointCreateBuilderImpl(name, description, handler).apply(builder).toRequest() + ) + } + + public suspend inline fun createGlobalPrimaryEntryPointCommand( + applicationId: Snowflake, + name: String, + description: String, + handler: PrimaryEntryPointCommandHandlerType, + builder: EntryPointCreateBuilder.() -> Unit = {} + ): DiscordApplicationCommand { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + + return createGlobalApplicationCommand( + applicationId, + EntryPointCreateBuilderImpl(name, description, handler).apply(builder).toRequest() + ) + } + public suspend inline fun createGuildApplicationCommands( applicationId: Snowflake, guildId: Snowflake, @@ -524,6 +556,36 @@ public class InteractionService(requestHandler: RequestHandler) : RestService(re ) } + public suspend inline fun modifyGuildPrimaryEntryPointApplicationCommand( + applicationId: Snowflake, + guildId: Snowflake, + commandId: Snowflake, + builder: EntryPointModifyBuilder.() -> Unit + ): DiscordApplicationCommand { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + + return modifyGuildApplicationCommand( + applicationId, + guildId, + commandId, + EntryPointModifyBuilderImpl().apply(builder).toRequest() + ) + } + + public suspend inline fun modifyGlobalPrimaryEntryPointApplicationCommand( + applicationId: Snowflake, + commandId: Snowflake, + builder: EntryPointModifyBuilder.() -> Unit + ): DiscordApplicationCommand { + contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } + + return modifyGlobalApplicationCommand( + applicationId, + commandId, + EntryPointModifyBuilderImpl().apply(builder).toRequest() + ) + } + public suspend inline fun modifyGuildUserApplicationCommand( applicationId: Snowflake, guildId: Snowflake, diff --git a/voice/src/main/java/com/iwebpp/crypto/TweetNaclFast.java b/voice/src/main/java/com/iwebpp/crypto/TweetNaclFast.java index c3106669fcc..156ecdb6de8 100644 --- a/voice/src/main/java/com/iwebpp/crypto/TweetNaclFast.java +++ b/voice/src/main/java/com/iwebpp/crypto/TweetNaclFast.java @@ -5,7 +5,6 @@ import java.io.UnsupportedEncodingException; import java.security.SecureRandom; -import java.lang.System; import java.util.concurrent.atomic.AtomicLong;