From d5a93570bb079320f384dc75ff6e1ab19f1e0b89 Mon Sep 17 00:00:00 2001 From: Hope <34831095+HopeBaron@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:21:27 +0300 Subject: [PATCH] Release: 0.7.0 (#325) * Ci tests improvement (#264) * allow running dokkaHtml on push * Implement voice stage channel (#239) * compute All * implement rest endpoints * JSON representation * implement core representation * handle stage channels * Apply suggestions Co-authored-by: BartArys * Remove duplicated factory function Co-authored-by: BartArys * add documentation * Document the requestToSpeak variable Co-authored-by: BartArys * Fix CI triggers * Add "Competing" activity type (Fix #270) (#272) * Make Updatestatus activities not-null (#274) As per Discord's documentation: https://github.com/discord/discord-api-docs/pull/2789 * Fix memory issues related to Permission combining (#277) * Do not octuple bitset size on copy the pure plus and minus function create a new array to work with, this incorrectly created an array of a size equal to the amount of bits that were allocated, instead the amount of longs. Thus, octupling the internal size. * Optimize Permission All The All Permission folded each DiscordBitSet of each value into eachother, resulting in n + 1 bitsets being created. This commit changes that to use the internal `add` which instead, which only mutates the single bitset created. * Add Stream permission It was missing * Add Permission All regression tests * Update deprecated message (#280) * Expose the creation of application commands behavior (#281) * Fix GuildUpdate core handling (#284) * Expose the creation of application commands behavior * Fix type of emitted event * Sealed message types (#282) * Expose the creation of application commands behavior * Make message types sealed * make Unknown a class * Add missing message types * make MessageTypeSerializer internal * Add buttons to Activity (#287) * Add buttons to Activity * Also pass buttons in constructor * Add missing fields to Guild (#288) * Add missing fields to Guild - Add welcome_screen - Add nsfw * Fix failing tests * Fix another failing tests * Add Message.applicationId (#289) * Message interaction (#283) * Expose the creation of application commands behavior * Add interaction message * Apply suggestions * reference the MessageInteraction in docs * Implement Strategizable for MessageInteraction * cache user from interaction message * Fix compilation errors * Fix withStrategy return type Co-authored-by: Bart Arys Co-authored-by: Bart Arys * Implement Stage instances (#291) * Add low-level implementation of stage instances * Add helper functions * Add core entities and api representations * Expose creation of StageInstanceBehavior to unsafe - Revert outdated change * Final additions - Add StageInstanceBehavior.asStageInstance - Fix compiler issue - Add StageChannelBehavior.getStageInstance() * Add StageInstances to EntitySupplier.kt * Add StageInstances to EntitySupplier.kt * Fix typo * Apply requested changes * Fix return type of channel in VoiceState (#295) * Fix return type of channel in VoiceState * Fix GuildService#modifyVoiceState endpoint * Fix MessageInteraction#user id * Add missing session start limit field (#306) - Adds the max_concurrency field to the session start limit data class * Update to Kotlin 1.5 (#299) * Update to 1.5.0-RC * trigger on branch pushes * Port to Kotlin 1.5 (#268) * Port dependencies to Kotlin 1.5 - Convert AbstractRateLimiter.AbstractRequestToken to a static rather than an inner class due to a compiler bug - Downgrade kx.ser-json to 1.0.0 to avoid a compiler bug - Bump other Kotlin dependencies to latest fixup! Port dependencies to Kotlin 1.5 - Convert AbstractRateLimiter.AbstractRequestToken to a static rather than an inner class due to a compiler bug - Downgrade kx.ser-json to 1.0.0 to avoid a compiler bug - Bump other Kotlin dependencies to latest * Replace deprecated kotlin.time APIs * Replace more deprecated APIs & inline classes * Replace deprecated usage of time API in tests * Possibly fix test Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> * Port to Kotlin 1.5 - Bump dependencies to 1.5 recommended versions - Remove inline classes in favor of value classes - Add required opt-ins - Migrate some more deprecated apis * Fix some gradle issues * Fix Gradle compilation issue * Remove documentationFileName as the new dokka version doesn't support it anymore and there is no replacement yet * Port kotlinx.serialization to 1.2.0 (#279) * Port kotlinx.serialization to 1.2.0 - Convert local classes to top level classes (See Kotlin/kotlinx.serialization#1472) - Improve handling of empty JSON bodies (See Kotlin/kotlinx.serialization#678) - Fix Failing Command test * Fix failing test * Properly decode null in gateway events (#286) * Properly decode null in gateway events * Update gateway/src/main/kotlin/Event.kt Co-authored-by: Bart Arys Co-authored-by: Bart Arys * Update Kotlinx.serialization (#290) * Update Kotlin 1.5 branch to upstream (#292) * Implement voice stage channel (#239) * compute All * implement rest endpoints * JSON representation * implement core representation * handle stage channels * Apply suggestions Co-authored-by: BartArys * Remove duplicated factory function Co-authored-by: BartArys * add documentation * Document the requestToSpeak variable Co-authored-by: BartArys * Fix CI triggers * Add "Competing" activity type (Fix #270) (#272) * Make Updatestatus activities not-null (#274) As per Discord's documentation: https://github.com/discord/discord-api-docs/pull/2789 * Fix memory issues related to Permission combining (#277) * Do not octuple bitset size on copy the pure plus and minus function create a new array to work with, this incorrectly created an array of a size equal to the amount of bits that were allocated, instead the amount of longs. Thus, octupling the internal size. * Optimize Permission All The All Permission folded each DiscordBitSet of each value into eachother, resulting in n + 1 bitsets being created. This commit changes that to use the internal `add` which instead, which only mutates the single bitset created. * Add Stream permission It was missing * Add Permission All regression tests * Update deprecated message (#280) * Expose the creation of application commands behavior (#281) * Fix GuildUpdate core handling (#284) * Expose the creation of application commands behavior * Fix type of emitted event * Sealed message types (#282) * Expose the creation of application commands behavior * Make message types sealed * make Unknown a class * Add missing message types * make MessageTypeSerializer internal * Add buttons to Activity (#287) * Add buttons to Activity * Also pass buttons in constructor * Add missing fields to Guild (#288) * Add missing fields to Guild - Add welcome_screen - Add nsfw * Fix failing tests * Fix another failing tests * Add Message.applicationId (#289) Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> Co-authored-by: BartArys Co-authored-by: HopeBaron Co-authored-by: Bart Arys Co-authored-by: Noah Hendrickson * Fix broken CI (#293) * Migrate to kotlinx-datetime (#297) * Migrate API code to kotlinx-datetime * Update tests * Remove dead code * Replace iso serializing with kx.dt * Bump dependencies to Kotlin 1.5.10 (#305) * Bump dependencies to Kotlin 1.5.10 - Fix sample code * Update remaining dependencies * Update ktor to 1.6.0 Co-authored-by: HopeBaron Co-authored-by: Michael Rittmeister Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> Co-authored-by: Noah Hendrickson * Filter out non-guilds when fetching rest guilds (#301) This is a side-effect from the system we currently employ when it comes to creating channels. Unknown channels are instantiated as an anonymous channel without hierarchy. While we could assume it is a guild channel, it's not in actuality. So the solution, as we did with cache, is to filter out channels that don't inherit the hierarchy. * close InputStreams used for attachments (#309) * Ephemeral embed support (#296) * Fix return type of channel in VoiceState * support embeds in ephemeral messages * supply modify request with embeds * Common builders for interaction response needs more work * Common builders for interaction response needs more work * Seal base builders for interaction response * make embeds list final * make allowedMentions additive * Fix tests * revert tests * Fix stream closed exception I still haven't managed to know the root of the problem but changing the append process fixed it... * use readBytes for Java 8 compatibility * Interaction create improvements (#294) * Expose the creation of application commands behavior * make message type sealed * Fix typo * document interaction create event * apply suggestions and add more details * replace the quotes * proper grammar, Hope * Improve slash command API and add support for components (#310) * Make slash command creation eager createGuildApplicationCommands and createGlobalApplicationCommands should eagerly create new commands to be more in line with the rest of the API * Fix typo in InteractionBehavior ackowledgePublic -> acknowledgePublic * Don't compute supplier in InteractionBehavior It's a waste of resources, and might result in unexpected behavior for non-Kord suppliers. * Specify withStrategy for Interactions Return types are important! * Introduce type to command options Also add Mentionable. Seems like Discord consistently tells us what kind of option an object is via the type field, this allows us to more clearly represent the json data in the lower level APIs. I ended up deleting DiscordOptionValue and replacing it with a more fleshed out CommandArgument. * Add KordDsl to builders * Add allowedMentions builder functions * Add permission edits to guild commands * Make full member available for guild contexts * Support buttons/components (#303) * Add new API models and properties * Add new InteractionCallbackType * Add ability to send components * Update core entities * Update tests * Add @KordPreview annotations * Convert don't trust doc comments to normal comments * Fix compilation issue * Optimize interaction serializing * Add builder * Fix tests * Apply some requested changes * Hopefully fix formatting * Make builders enforce Discord restrictions * Improve builders again * Remove LinkButtonBuilder.style * Improve builders - Add components to more supported builders - Make required fields parameters - Make builders appending * Update deprecated message (#280) * Expose the creation of application commands behavior (#281) * Fix GuildUpdate core handling (#284) * Expose the creation of application commands behavior * Fix type of emitted event * Sealed message types (#282) * Expose the creation of application commands behavior * Make message types sealed * make Unknown a class * Add missing message types * make MessageTypeSerializer internal * Add buttons to Activity (#287) * Add buttons to Activity * Also pass buttons in constructor * Add missing fields to Guild (#288) * Add missing fields to Guild - Add welcome_screen - Add nsfw * Fix failing tests * Fix another failing tests * Add Message.applicationId (#289) * Message interaction (#283) * Expose the creation of application commands behavior * Add interaction message * Apply suggestions * reference the MessageInteraction in docs * Implement Strategizable for MessageInteraction * cache user from interaction message * Fix compilation errors * Fix withStrategy return type Co-authored-by: Bart Arys Co-authored-by: Bart Arys * Implement Stage instances (#291) * Add low-level implementation of stage instances * Add helper functions * Add core entities and api representations * Expose creation of StageInstanceBehavior to unsafe - Revert outdated change * Final additions - Add StageInstanceBehavior.asStageInstance - Fix compiler issue - Add StageChannelBehavior.getStageInstance() * Add StageInstances to EntitySupplier.kt * Add StageInstances to EntitySupplier.kt * Fix typo * Apply requested changes * Fix return type of channel in VoiceState (#295) * Fix return type of channel in VoiceState * Fix GuildService#modifyVoiceState endpoint * Fix MessageInteraction#user id * Add missing session start limit field (#306) - Adds the max_concurrency field to the session start limit data class * Update to Kotlin 1.5 (#299) * Update to 1.5.0-RC * trigger on branch pushes * Port to Kotlin 1.5 (#268) * Port dependencies to Kotlin 1.5 - Convert AbstractRateLimiter.AbstractRequestToken to a static rather than an inner class due to a compiler bug - Downgrade kx.ser-json to 1.0.0 to avoid a compiler bug - Bump other Kotlin dependencies to latest fixup! Port dependencies to Kotlin 1.5 - Convert AbstractRateLimiter.AbstractRequestToken to a static rather than an inner class due to a compiler bug - Downgrade kx.ser-json to 1.0.0 to avoid a compiler bug - Bump other Kotlin dependencies to latest * Replace deprecated kotlin.time APIs * Replace more deprecated APIs & inline classes * Replace deprecated usage of time API in tests * Possibly fix test Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> * Port to Kotlin 1.5 - Bump dependencies to 1.5 recommended versions - Remove inline classes in favor of value classes - Add required opt-ins - Migrate some more deprecated apis * Fix some gradle issues * Fix Gradle compilation issue * Remove documentationFileName as the new dokka version doesn't support it anymore and there is no replacement yet * Port kotlinx.serialization to 1.2.0 (#279) * Port kotlinx.serialization to 1.2.0 - Convert local classes to top level classes (See Kotlin/kotlinx.serialization#1472) - Improve handling of empty JSON bodies (See Kotlin/kotlinx.serialization#678) - Fix Failing Command test * Fix failing test * Properly decode null in gateway events (#286) * Properly decode null in gateway events * Update gateway/src/main/kotlin/Event.kt Co-authored-by: Bart Arys Co-authored-by: Bart Arys * Update Kotlinx.serialization (#290) * Update Kotlin 1.5 branch to upstream (#292) * Implement voice stage channel (#239) * compute All * implement rest endpoints * JSON representation * implement core representation * handle stage channels * Apply suggestions Co-authored-by: BartArys * Remove duplicated factory function Co-authored-by: BartArys * add documentation * Document the requestToSpeak variable Co-authored-by: BartArys * Fix CI triggers * Add "Competing" activity type (Fix #270) (#272) * Make Updatestatus activities not-null (#274) As per Discord's documentation: https://github.com/discord/discord-api-docs/pull/2789 * Fix memory issues related to Permission combining (#277) * Do not octuple bitset size on copy the pure plus and minus function create a new array to work with, this incorrectly created an array of a size equal to the amount of bits that were allocated, instead the amount of longs. Thus, octupling the internal size. * Optimize Permission All The All Permission folded each DiscordBitSet of each value into eachother, resulting in n + 1 bitsets being created. This commit changes that to use the internal `add` which instead, which only mutates the single bitset created. * Add Stream permission It was missing * Add Permission All regression tests * Update deprecated message (#280) * Expose the creation of application commands behavior (#281) * Fix GuildUpdate core handling (#284) * Expose the creation of application commands behavior * Fix type of emitted event * Sealed message types (#282) * Expose the creation of application commands behavior * Make message types sealed * make Unknown a class * Add missing message types * make MessageTypeSerializer internal * Add buttons to Activity (#287) * Add buttons to Activity * Also pass buttons in constructor * Add missing fields to Guild (#288) * Add missing fields to Guild - Add welcome_screen - Add nsfw * Fix failing tests * Fix another failing tests * Add Message.applicationId (#289) Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> Co-authored-by: BartArys Co-authored-by: HopeBaron Co-authored-by: Bart Arys Co-authored-by: Noah Hendrickson * Fix broken CI (#293) * Migrate to kotlinx-datetime (#297) * Migrate API code to kotlinx-datetime * Update tests * Remove dead code * Replace iso serializing with kx.dt * Bump dependencies to Kotlin 1.5.10 (#305) * Bump dependencies to Kotlin 1.5.10 - Fix sample code * Update remaining dependencies * Update ktor to 1.6.0 Co-authored-by: HopeBaron Co-authored-by: Michael Rittmeister Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> Co-authored-by: Noah Hendrickson * Filter out non-guilds when fetching rest guilds (#301) This is a side-effect from the system we currently employ when it comes to creating channels. Unknown channels are instantiated as an anonymous channel without hierarchy. While we could assume it is a guild channel, it's not in actuality. So the solution, as we did with cache, is to filter out channels that don't inherit the hierarchy. * Improve builders again - Merge in upstream * Fix builder requirements - Fix error when sending a emoji button * Fix merge related syntax errors * Restore default sample * Fix formatting isssue in documentation Co-authored-by: Bart Arys * Max component list a val Co-authored-by: Bart Arys * Apply suggestions from code review Co-authored-by: Bart Arys * Apply requested changes * No longer make DiscordInteraction a sealed class * Fix DiscordInteraction serialization * Add some documentation for components * Remove unused imports from builder Co-authored-by: Noah Hendrickson Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> Co-authored-by: Bart Arys Co-authored-by: 2D Co-authored-by: HopeBaron * Add core versions of components * Restructure and document ButtonBuilder * Remove ActionRowContainerBuilder * Make ComponentInteraction message nullable ephemeral messages in the interaction contain a id, which is not a message id, and the flags. We can't construct a behaviour from this (since the id isn't real), so I decided to drop the data if the message is ephemeral. * Add missing components to interaction builders * Add missing ComponentInteraction behavior * Fix withStrategy for ComponentInteractionBehavior * Implement ComponentInteractionBehavior * Move component builders directory We use singular for package names * Fix interaction embeds optionality * Make CommandInteraction#guildId optional * Make MessageModifyBuilder components vals Co-authored-by: Michael Rittmeister Co-authored-by: Noah Hendrickson Co-authored-by: Hope <34831095+HopeBaron@users.noreply.github.com> Co-authored-by: 2D Co-authored-by: HopeBaron * interaction code cleanup (#312) * clean up * clean up builders * remove content parameter * Apply suggestions * Make serialization of Snowflake consistent (#316) Snowflakes are decoded as Longs but encoded as Strings. Mixing these types is allowed in JSON (and is done by Discord quite frequently) but does lead to other encoding types failing. This commit changes snowflakes to be encoded and decoded as long values exclusively, and should fix the issue. * Add missing components (#318) * clean up * Add missing component builders * expose default permission * cosmetic changes * add missing overrides * remove actionRow from public interaction response builder * Apply formatting suggestion Co-authored-by: Bart Arys Co-authored-by: Bart Arys * Guild nsfw level (#320) * Fix return type of channel in VoiceState * support embeds in ephemeral messages * supply modify request with embeds * add NsfwLevel * update docs [ci skip] * clean up * Fix documentation Co-authored-by: Bart Arys Co-authored-by: Bart Arys * Add non-builder editMessage overload (#323) * Fix followups method signiture (#321) * Fix followups * rename followup functions * Improve live entity life cycle (#315) * fix: Resolve issue about the onShutDown function for Live entities Add deprecated annotation on previous onShutDown extension method Add onShutDown value in LiveEntity to apply action in event or manual case of shutdown * feat: Use coroutine dispatcher for lifecycle of live entity classes Manage the interception of events with the lifecycle of the Live entity. * feat: Use default dispatcher in constructor of live entity * chore: Remove deprecated annotation on onShutDown methods * use and extract SupervisorJob where possible * allow handling a live entity completion * Add structured concurrency to live entity (#285) * test: Begin test for LiveMessage * test: Add tests for LiveMessage class Add tests for listen events Ignore tests where the lifecycle is break by event * chore: Remove useless imports * fix: shutdown action for live entity Deprecate the listening where the live entity is shutdown because the methods are never called Create a property to apply action when the entity is shutdown * fix: Cancel live entity when kord is cancel Add parent of coroutine in constructor of AbstractLiveKordEntity to automatically cancelled the live entity when kord is cancelled * fix: Resolve issue listening for onShutdown, chore: Refactor name shutdown Rename shutDown method to shudown to agree with the method shutdown in kord Resolve issue to listening event for onShutdown action with an empty action job * test: Add abstract class to tests live entity * test: Add tests for abstract live entity and general behavior * chore: Add generic type live entity in abstract class test * chore: Deprecate onCreate method never called by entity * test: Add tests for Member, Role and User live entity Add tests for LiveMember Add tests for LiveRole Add tests for LiveUser * feat: Support BanAddEvent in live guild * test: Change test classes to simulate event and manage it * chore: Remove annotation need token bot * chore: Adapt Role & User live test with send manual event * chore: Adapt Role & User live test with send manual event * test: Add check equality field of event, implements member live test * chore: Remove optIn no used * fix: Correction tests to send fake event instead of real interaction * test: Refactor test to build test with valid and random id * fix: Fix flow issue with delay .. * fix: Rename package to resolve gradle issue I don't know why * test: Add Atomic counter to test event * test: End tests for guild live entity * chore: Place deprecated annotation on live entity Place Deprecated annotation for create event * test: Live category test * chore: Use sequence random id from other tests * test: Tests for all live entities category * test: Add Integrations update for guild live entity * fix: Add delay between creation job and send event Apply a delay between creation jobs and send events to be sure that all jobs are ready to listen the events in flow Without that, this is possible that the test failed * chore: Add deprecated annotation on GuildCreateEvent for live channel * fix: Use guild test channel type (according to GuildMessageChannel) * chore: format * chore: change package name and function name * chore: Use randomID, refactor send event * chore: Doc about shutdown action * chore: Change ReplaceWith in Deprecated annotation, rename shutdown method to shutDown * fix: Remove shutdown action property Remove the onShutDownAction and shutdownAction property to exploit the function invokeOnCompletion from job. Change constructor of live entity to be able to set final the kord instance and launch event in the scope of the live entity * feat: Add cause of shut down live entity * chore: Set deprecate level to Error * test: Add test for LiveGuild with method onGuildCreate * chore: Rename method about completion of job * feat: Add cancellation exception class for live entity Add the class LiveCancellationException to be able to retrieve the event causing the completion of live entity * feat: Add cause of cancellation to retrieve event for each live entity Use the LiveCancellationException class in parameter of shutDown method to be able to retrieve the source event for each live entity * chore: format * tests: Remove delay and use queue to manage action Remove delay between event and replace by Queue to send event when the previous event is received * tests: Add tests for LiveCancellationException constructor Check if there is an error when the exception is called with or not reason message * chore: Refactor property of LiveCancellationException * fix: Null pointer in live entities tests Remove job property, remove delay to use kord.launch and invoke the first event only when the job is ready * chore: try to add delay in tests Add delay in test to help CI * chore: Create constante for delay time in tests * chore: try old system for tests with CI * fix: Remove non-existent code * Retry github action * tests: Check data event caused shutDown Check the data into the event causing the shutDown of the live entity * Retry github action * Retry github action * Retry github action * chore: Change sentence in deprecated annotation * chore: Remove replaceWith Remove replaceWith where the code cannot be correctly generated without instance of object * chore: Homogenize cancel message * chore: Fix imports and ReplaceWith for Deprecated annotation * chore: Remove ReplaceWith for forgotten Deprecated annotation * Fix duplicate update on live entitites (#298) * fix: Resolve issue about several call update function Use the default job children in live entity to call once times the update function * chore: Remove inline doc in test * fix: Use ShareFlow to manage update method * Retry github action * chore: format * Retry github action * feat: Add possibility to define Job parent to create live entities (#304) * feat: Add possibility to define Job parent to create live entities * fix: Use CoroutineScope to define parent * feat: Allows to set CoroutineScope for each method 'on' * feat: Set coroutineScope into constructor of Live entities Change the parameters of AbstractLiveKordEntity to use coroutineScope by delegation * Reload Github workflow * fix: Use kord.coroutineContext to build default CoroutineScope for live entities * Fix compilation issues * tests: Remove test file (#319) * inline supervisor job Co-authored-by: Distractic Co-authored-by: Distractic <46402441+Distractic@users.noreply.github.com> * 0.7.0: Update Readme/Changelog (#314) * clean up * update changelog: 0.7.0 * add dependencies * remove copy paste left-overs * Update maven central badge (#267) * improve readme and changelog * remove the dashes * use h2 for changes * Add #304 to the changelog * update changelog * api dump Co-authored-by: Michael Rittmeister * Add components to webhook builders (#324) * Add components to webhook builders This adds component fields and DSLs to webhook message builders * Fix webhook builders allowed_mentions SerialName * update readme * api dump Co-authored-by: BartArys Co-authored-by: Michael Rittmeister Co-authored-by: Bart Arys Co-authored-by: Noah Hendrickson Co-authored-by: 2D Co-authored-by: SirNapkin1334 Co-authored-by: qbosst <60557521+qbosst@users.noreply.github.com> Co-authored-by: Distractic Co-authored-by: Distractic <46402441+Distractic@users.noreply.github.com> --- .github/workflows/deployment-ci.yml | 2 + CHANGELOG.md | 41 + README.md | 6 +- build.gradle.kts | 5 +- buildSrc/build.gradle.kts | 4 +- buildSrc/src/main/kotlin/Compiler.kt | 1 - buildSrc/src/main/kotlin/Dependencies.kt | 16 +- common/api/common.api | 846 +++++++---- common/build.gradle.kts | 5 +- common/src/main/kotlin/DiscordBitSet.kt | 4 +- .../src/main/kotlin/entity/DiscordActivity.kt | 6 +- .../src/main/kotlin/entity/DiscordChannel.kt | 3 + .../main/kotlin/entity/DiscordComponent.kt | 140 ++ common/src/main/kotlin/entity/DiscordEmoji.kt | 4 +- common/src/main/kotlin/entity/DiscordGuild.kt | 44 +- .../src/main/kotlin/entity/DiscordMessage.kt | 96 +- .../kotlin/entity/DiscordStageInstance.kt | 23 + common/src/main/kotlin/entity/Interactions.kt | 389 +++-- common/src/main/kotlin/entity/Permission.kt | 8 +- common/src/main/kotlin/entity/Snowflake.kt | 18 +- .../main/kotlin/entity/optional/Optional.kt | 9 + .../kotlin/ratelimit/BucketRateLimiter.kt | 16 +- common/src/test/kotlin/FixedClock.kt | 8 + .../entity/optional/OptionalBooleanTest.kt | 23 +- .../kotlin/entity/optional/OptionalIntTest.kt | 24 +- .../entity/optional/OptionalLongTest.kt | 30 +- .../entity/optional/OptionalSnowflakeTest.kt | 26 +- .../kotlin/entity/optional/OptionalTest.kt | 48 +- common/src/test/kotlin/json/GuildTest.kt | 1 + .../src/test/kotlin/json/InteractionTest.kt | 16 +- .../src/test/kotlin/json/PermissionsTest.kt | 17 +- .../kotlin/ratelimit/BucketRateLimiterTest.kt | 15 +- .../src/test/resources/json/guild/guild.json | 3 +- .../json/interaction/groupsubcommand.json | 3 + .../json/interaction/rootcommand.json | 2 + .../json/interaction/subcommand.json | 2 + core/api/core.api | 1255 ++++++++++++----- core/build.gradle.kts | 1 - core/src/main/kotlin/Kord.kt | 2 +- core/src/main/kotlin/SlashCommands.kt | 11 +- core/src/main/kotlin/Unsafe.kt | 37 +- core/src/main/kotlin/Util.kt | 8 +- .../GlobalApplicationCommandBehavior.kt | 44 + .../kotlin/behavior/StageInstanceBehavior.kt | 45 + .../channel/BaseVoiceChannelBehavior.kt | 26 + .../channel/GuildMessageChannelBehavior.kt | 9 +- .../channel/MessageChannelBehavior.kt | 13 +- .../behavior/channel/StageChannelBehavior.kt | 101 ++ .../behavior/channel/VoiceChannelBehavior.kt | 22 +- .../ComponentInteractionBehavior.kt | 162 +++ .../EphemeralInteractionResponseBehavior.kt | 9 +- .../interaction/InteractionBehavior.kt | 13 +- .../component/ButtonBuilderExtensions.kt | 17 + .../main/kotlin/builder/kord/KordBuilder.kt | 9 +- core/src/main/kotlin/cache/CachingGateway.kt | 3 +- .../main/kotlin/cache/data/ActivityData.kt | 4 +- .../main/kotlin/cache/data/ComponentData.kt | 40 + core/src/main/kotlin/cache/data/GuildData.kt | 4 + .../main/kotlin/cache/data/InteractionData.kt | 69 +- .../src/main/kotlin/cache/data/MessageData.kt | 18 +- .../cache/data/MessageInteractionData.kt | 24 + .../kotlin/cache/data/StageInstanceData.kt | 19 + .../main/kotlin/cache/data/VoiceStateData.kt | 7 +- core/src/main/kotlin/entity/Activity.kt | 5 +- core/src/main/kotlin/entity/Embed.kt | 4 +- core/src/main/kotlin/entity/Guild.kt | 21 +- core/src/main/kotlin/entity/Integration.kt | 9 +- core/src/main/kotlin/entity/Member.kt | 7 +- core/src/main/kotlin/entity/Message.kt | 31 +- core/src/main/kotlin/entity/StageInstance.kt | 19 + core/src/main/kotlin/entity/Template.kt | 8 +- core/src/main/kotlin/entity/VoiceState.kt | 11 +- .../src/main/kotlin/entity/channel/Channel.kt | 1 + .../kotlin/entity/channel/MessageChannel.kt | 4 +- .../entity/channel/StageVoiceChannel.kt | 54 + .../entity/component/ActionRowComponent.kt | 28 + .../entity/component/ButtonComponent.kt | 67 + .../main/kotlin/entity/component/Component.kt | 36 + .../entity/component/UnknownComponent.kt | 14 + .../kotlin/entity/interaction/Interaction.kt | 255 +++- .../entity/interaction/InteractionFollowup.kt | 2 + .../entity/interaction/MessageInteraction.kt | 67 + .../event/channel/ChannelCreateEvent.kt | 7 + .../event/channel/ChannelDeleteEvent.kt | 6 + .../event/channel/ChannelPinsUpdateEvent.kt | 4 +- .../event/channel/ChannelUpdateEvent.kt | 7 + .../kotlin/event/channel/TypingStartEvent.kt | 2 +- .../kotlin/event/guild/InviteCreateEvent.kt | 7 +- .../kotlin/event/guild/MemberUpdateEvent.kt | 2 +- .../event/interaction/InteractionCreate.kt | 28 +- .../exception/EntityNotFoundException.kt | 3 + core/src/main/kotlin/gateway/MasterGateway.kt | 4 +- .../gateway/handler/ChannelEventHandler.kt | 3 + .../gateway/handler/GuildEventHandler.kt | 2 +- .../gateway/handler/MessageEventHandler.kt | 8 + core/src/main/kotlin/live/LiveGuild.kt | 115 +- core/src/main/kotlin/live/LiveKordEntity.kt | 31 +- core/src/main/kotlin/live/LiveMember.kt | 69 +- core/src/main/kotlin/live/LiveMessage.kt | 121 +- core/src/main/kotlin/live/LiveRole.kt | 58 +- core/src/main/kotlin/live/LiveUser.kt | 22 +- .../main/kotlin/live/channel/LiveCategory.kt | 65 +- .../main/kotlin/live/channel/LiveChannel.kt | 83 +- .../main/kotlin/live/channel/LiveDmChannel.kt | 65 +- .../kotlin/live/channel/LiveGuildChannel.kt | 65 +- .../live/channel/LiveGuildMessageChannel.kt | 61 +- .../kotlin/live/channel/LiveVoiceChannel.kt | 65 +- .../exception/LiveCancellationException.kt | 6 + .../kotlin/supplier/CacheEntitySupplier.kt | 2 + .../main/kotlin/supplier/EntitySupplier.kt | 7 +- .../kotlin/supplier/FallbackEntitySupplier.kt | 2 + .../kotlin/supplier/RestEntitySupplier.kt | 16 +- core/src/test/kotlin/KordTest.kt | 2 +- .../kotlin/interaction/CommandTypesTest.kt | 21 +- .../kotlin/live/AbstractLiveEntityTest.kt | 153 ++ core/src/test/kotlin/live/LiveGuildTest.kt | 782 ++++++++++ .../test/kotlin/live/LiveKordEntityTest.kt | 177 +++ core/src/test/kotlin/live/LiveMemberTest.kt | 165 +++ core/src/test/kotlin/live/LiveMessageTest.kt | 306 ++++ core/src/test/kotlin/live/LiveRoleTest.kt | 129 ++ core/src/test/kotlin/live/LiveUserTest.kt | 69 + .../kotlin/live/channel/LiveCategoryTest.kt | 69 + .../kotlin/live/channel/LiveChannelTest.kt | 94 ++ .../kotlin/live/channel/LiveDmChannelTest.kt | 69 + .../live/channel/LiveGuildChannelTest.kt | 82 ++ .../kotlin/live/channel/LiveGuildTextTest.kt | 82 ++ .../live/channel/LiveVoiceChannelTest.kt | 69 + .../kotlin/performance/KordEventDropTest.kt | 31 +- .../kotlin/regression/CacheMissRegression.kt | 6 +- gateway/api/gateway.api | 37 +- gateway/build.gradle.kts | 1 - gateway/src/main/kotlin/Command.kt | 2 +- gateway/src/main/kotlin/DefaultGateway.kt | 3 +- .../src/main/kotlin/DefaultGatewayBuilder.kt | 7 +- gateway/src/main/kotlin/Event.kt | 8 +- gateway/src/main/kotlin/Gateway.kt | 8 +- gateway/src/main/kotlin/Ticker.kt | 4 +- .../main/kotlin/builder/PresenceBuilder.kt | 10 +- gateway/src/main/kotlin/handler/Handler.kt | 6 +- .../main/kotlin/handler/HeartbeatHandler.kt | 6 +- gateway/src/main/kotlin/retry/LinearRetry.kt | 11 +- gateway/src/samples/kotlin/EventListener.kt | 20 +- .../test/kotlin/gateway/DefaultGatewayTest.kt | 11 +- gateway/src/test/kotlin/json/CommandTest.kt | 38 +- gateway/src/test/kotlin/json/SnowflakeTest.kt | 50 + gradle/wrapper/gradle-wrapper.properties | 2 +- rest/api/rest.api | 793 ++++++++--- rest/build.gradle.kts | 1 - .../channel/EditGuildChannelBuilder.kt | 30 + .../builder/component/ActionRowBuilder.kt | 52 + .../kotlin/builder/component/ButtonBuilder.kt | 90 ++ .../builder/component/ComponentBuilders.kt | 15 + .../builder/guild/VoiceStateModifyBuilder.kt | 55 + .../interaction/ApplicationCommandBuilders.kt | 46 +- .../main/kotlin/builder/interaction/Base.kt | 64 + .../EphemeralInteractionBuilders.kt | 78 +- .../interaction/FollowupMessageBuilders.kt | 171 ++- .../builder/interaction/OptionsBuilder.kt | 12 + .../interaction/PublicInteractionBuilder.kt | 82 +- ...MessageInteractionResponseCreateBuilder.kt | 98 ++ .../kotlin/builder/message/EmbedBuilder.kt | 5 +- .../builder/message/MessageCreateBuilder.kt | 25 +- .../builder/message/MessageModifyBuilder.kt | 24 +- .../webhook/EditWebhookMessageBuilder.kt | 19 +- .../builder/webhook/ExecuteWebhookBuilder.kt | 22 +- .../main/kotlin/json/OptionalSerializer.kt | 35 - .../kotlin/json/request/ChannelRequests.kt | 1 + .../json/request/InteractionsRequests.kt | 13 +- .../kotlin/json/request/MessageRequests.kt | 12 +- .../json/request/StageInstanceRequests.kt | 15 + .../kotlin/json/request/VoiceStateRequests.kt | 24 + .../kotlin/json/request/WebhookRequests.kt | 9 +- rest/src/main/kotlin/json/response/Gateway.kt | 6 +- .../kotlin/ratelimit/AbstractRateLimiter.kt | 59 +- .../ratelimit/ExclusionRequestRateLimiter.kt | 17 +- .../ratelimit/ParallelRequestRateLimiter.kt | 10 +- .../kotlin/ratelimit/RequestRateLimiter.kt | 15 +- rest/src/main/kotlin/request/HttpUtils.kt | 18 +- .../main/kotlin/request/KtorRequestHandler.kt | 12 +- rest/src/main/kotlin/request/Request.kt | 31 +- rest/src/main/kotlin/route/Route.kt | 77 +- .../src/main/kotlin/service/ChannelService.kt | 26 +- rest/src/main/kotlin/service/GuildService.kt | 46 +- rest/src/main/kotlin/service/RestClient.kt | 1 + .../kotlin/service/StageInstanceService.kt | 39 + .../AbstractRequestRateLimiterTest.kt | 36 +- .../ExclusionRequestRateLimiterTest.kt | 2 +- .../ParallelRequestRateLimiterTest.kt | 2 +- rest/src/test/kotlin/ratelimit/TestClock.kt | 12 +- .../test/kotlin/request/MessageRequests.kt | 41 + settings.gradle.kts | 1 + 191 files changed, 8241 insertions(+), 1986 deletions(-) create mode 100644 common/src/main/kotlin/entity/DiscordComponent.kt create mode 100644 common/src/main/kotlin/entity/DiscordStageInstance.kt create mode 100644 common/src/test/kotlin/FixedClock.kt create mode 100644 core/src/main/kotlin/behavior/StageInstanceBehavior.kt create mode 100644 core/src/main/kotlin/behavior/channel/BaseVoiceChannelBehavior.kt create mode 100644 core/src/main/kotlin/behavior/channel/StageChannelBehavior.kt create mode 100644 core/src/main/kotlin/behavior/interaction/ComponentInteractionBehavior.kt create mode 100644 core/src/main/kotlin/builder/component/ButtonBuilderExtensions.kt create mode 100644 core/src/main/kotlin/cache/data/ComponentData.kt create mode 100644 core/src/main/kotlin/cache/data/MessageInteractionData.kt create mode 100644 core/src/main/kotlin/cache/data/StageInstanceData.kt create mode 100644 core/src/main/kotlin/entity/StageInstance.kt create mode 100644 core/src/main/kotlin/entity/channel/StageVoiceChannel.kt create mode 100644 core/src/main/kotlin/entity/component/ActionRowComponent.kt create mode 100644 core/src/main/kotlin/entity/component/ButtonComponent.kt create mode 100644 core/src/main/kotlin/entity/component/Component.kt create mode 100644 core/src/main/kotlin/entity/component/UnknownComponent.kt create mode 100644 core/src/main/kotlin/entity/interaction/MessageInteraction.kt create mode 100644 core/src/main/kotlin/live/exception/LiveCancellationException.kt create mode 100644 core/src/test/kotlin/live/AbstractLiveEntityTest.kt create mode 100644 core/src/test/kotlin/live/LiveGuildTest.kt create mode 100644 core/src/test/kotlin/live/LiveKordEntityTest.kt create mode 100644 core/src/test/kotlin/live/LiveMemberTest.kt create mode 100644 core/src/test/kotlin/live/LiveMessageTest.kt create mode 100644 core/src/test/kotlin/live/LiveRoleTest.kt create mode 100644 core/src/test/kotlin/live/LiveUserTest.kt create mode 100644 core/src/test/kotlin/live/channel/LiveCategoryTest.kt create mode 100644 core/src/test/kotlin/live/channel/LiveChannelTest.kt create mode 100644 core/src/test/kotlin/live/channel/LiveDmChannelTest.kt create mode 100644 core/src/test/kotlin/live/channel/LiveGuildChannelTest.kt create mode 100644 core/src/test/kotlin/live/channel/LiveGuildTextTest.kt create mode 100644 core/src/test/kotlin/live/channel/LiveVoiceChannelTest.kt create mode 100644 gateway/src/test/kotlin/json/SnowflakeTest.kt create mode 100644 rest/src/main/kotlin/builder/component/ActionRowBuilder.kt create mode 100644 rest/src/main/kotlin/builder/component/ButtonBuilder.kt create mode 100644 rest/src/main/kotlin/builder/component/ComponentBuilders.kt create mode 100644 rest/src/main/kotlin/builder/guild/VoiceStateModifyBuilder.kt create mode 100644 rest/src/main/kotlin/builder/interaction/Base.kt create mode 100644 rest/src/main/kotlin/builder/interaction/UpdateMessageInteractionResponseCreateBuilder.kt delete mode 100644 rest/src/main/kotlin/json/OptionalSerializer.kt create mode 100644 rest/src/main/kotlin/json/request/StageInstanceRequests.kt create mode 100644 rest/src/main/kotlin/json/request/VoiceStateRequests.kt create mode 100644 rest/src/main/kotlin/service/StageInstanceService.kt create mode 100644 rest/src/test/kotlin/request/MessageRequests.kt diff --git a/.github/workflows/deployment-ci.yml b/.github/workflows/deployment-ci.yml index 44567004d1d..821194a760e 100644 --- a/.github/workflows/deployment-ci.yml +++ b/.github/workflows/deployment-ci.yml @@ -4,6 +4,8 @@ name: Kotlin CI on: push: + branches: + - '**' # We want to run this on all branch pushes tags-ignore: - '**' # We don't want this to run on tags pushes pull_request: diff --git a/CHANGELOG.md b/CHANGELOG.md index 651945c08e1..bdd3b3afb30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,44 @@ +# 0.7.0 + +## Additions + +* Implement voice stage channel (#239) +* Add "Competing" activity type (#272) +* Add unsafe application commands behavior (#281) +* Add buttons to Activity (#287) +* Add Message.applicationId (#289) +* Implement Stage instances (#291) +* Add Message interaction (#283) +* Add Ephemeral embed support (#296 #321) + +## Changes + +* Update deprecated message (#280) +* Sealed message types (#282) +* Improve slash command API and add support for components (#310 #294 #312 #324) +* Live entities can define a parent job (#304) + +## Fixes + +* Close InputStreams used for attachments (#309 #296) +* Make Updatestatus activities not-null (#274) +* Fix GuildUpdate core handling (#284) + +## Performance + +* Fix memory issues related to Permission combining (#277) + +## Dependencies + +* kotlin 1.4.32 -> 1.5.10 +* kotlinxSerialization 1.1.0 -> 1.2.1 +* ktor 1.5.2 -> 1.6.0 +* kotlinxCoroutines = 1.4.2 -> 1.5.0 +* kotlinLogging 2.0.4 -> 2.0.6 +* atomicFu 0.15.1 -> 0.16.1 +* binaryCompatibilityValidator 0.4.0 -> 0.5.0 +* datetime 0.2.1 + # 0.7.0-RC3 ## Fixes diff --git a/README.md b/README.md index a5d2e33d807..24cf6bd0b59 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # Kord [![Discord](https://img.shields.io/discord/556525343595298817.svg?color=&label=Kord&logo=discord&style=for-the-badge)](https://discord.gg/6jcx5ev) -[![Download](https://img.shields.io/nexus/r/dev.kord/kord-core?color=fb5502&label=Kord&logoColor=05c1fd&server=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2F&style=for-the-badge) ](https://search.maven.org/search?q=g:dev.kord) -[![Snapshot](https://img.shields.io/nexus/s/dev.kord/kord-core?label=SNAPSHOT&server=https%3A%2F%2Foss.sonatype.org%2F&style=for-the-badge)](https://oss.sonatype.org/#nexus-search;quick~dev.kord) +[![Download](https://img.shields.io/maven-central/v/dev.kord/kord-core.svg?label=Maven%20Central&style=for-the-badge)](https://search.maven.org/search?q=g:%22dev.kord%22%20AND%20a:%22kord-core%22) [![Github CI status (branch)](https://img.shields.io/github/workflow/status/kordlib/kord/CI/master?label=CI&style=for-the-badge)]() __Kord is still in an experimental stage, as such we can't guarantee API stability between releases. While we'd love for @@ -50,8 +49,7 @@ For Snapshots replace `{version}` with `{branch}-SNAPSHOT` e.g: `0.7.x-SNAPSHOT` -[![Download](https://img.shields.io/nexus/r/dev.kord/kord-core?color=fb5502&label=Kord&logoColor=05c1fd&server=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2F&style=for-the-badge) ](https://search.maven.org/search?q=g:dev.kord) -[![Snapshot](https://img.shields.io/nexus/s/dev.kord/kord-core?label=SNAPSHOT&server=https%3A%2F%2Foss.sonatype.org%2F&style=for-the-badge)](https://oss.sonatype.org/#nexus-search;quick~dev.kord) +[![Download](https://img.shields.io/maven-central/v/dev.kord/kord-core.svg?label=Maven%20Central&style=for-the-badge)](https://search.maven.org/search?q=g:%22dev.kord%22%20AND%20a:%22kord-core%22) ### Gradle (groovy) diff --git a/build.gradle.kts b/build.gradle.kts index 95179e1b92d..5acbc04134c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,6 +5,7 @@ import org.apache.commons.codec.binary.Base64 buildscript { repositories { jcenter() + mavenCentral() maven(url = "https://plugins.gradle.org/m2/") } dependencies { @@ -20,7 +21,7 @@ buildscript { plugins { id("org.jetbrains.kotlin.jvm") version Versions.kotlin - id("org.jetbrains.dokka") version "1.4.0" + id("org.jetbrains.dokka") version "1.4.30" id("org.ajoberstar.git-publish") version "2.1.3" signing @@ -32,7 +33,6 @@ apply(plugin = "binary-compatibility-validator") repositories { mavenCentral() - jcenter() mavenLocal() } @@ -218,7 +218,6 @@ tasks { dokkaHtmlMultiModule.configure { dependsOn(clean) outputDirectory.set(file(dokkaOutputDir)) - documentationFileName.set("DokkaDescription.md") } diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 03e1bb944d0..35ff91e53c9 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -11,7 +11,7 @@ repositories { } dependencies { - implementation(kotlin("gradle-plugin-api", version = "1.4.0")) + implementation(kotlin("gradle-plugin-api", version = "1.5.0")) implementation(gradleApi()) implementation(localGroovy()) -} \ No newline at end of file +} diff --git a/buildSrc/src/main/kotlin/Compiler.kt b/buildSrc/src/main/kotlin/Compiler.kt index 102a1449365..237192819a2 100644 --- a/buildSrc/src/main/kotlin/Compiler.kt +++ b/buildSrc/src/main/kotlin/Compiler.kt @@ -1,5 +1,4 @@ object CompilerArguments { - const val inlineClasses = "-XXLanguage:+InlineClasses" const val coroutines = "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi" const val time = "-Xopt-in=kotlin.time.ExperimentalTime" const val stdLib = "-Xopt-in=kotlin.ExperimentalStdlibApi" diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index fb9475f42d2..f3cf34fcf38 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -1,11 +1,12 @@ object Versions { - const val kotlin = "1.4.32" - const val kotlinxSerialization = "1.1.0" - const val ktor = "1.5.2" - const val kotlinxCoroutines = "1.4.2" - const val kotlinLogging = "2.0.4" - const val atomicFu = "0.15.1" - const val binaryCompatibilityValidator = "0.4.0" + const val kotlin = "1.5.10" + const val kotlinxSerialization = "1.2.1" + const val ktor = "1.6.0" + const val kotlinxCoroutines = "1.5.0" + const val kotlinLogging = "2.0.6" + const val dateTime = "0.2.1" + const val atomicFu = "0.16.1" + const val binaryCompatibilityValidator = "0.5.0" //test deps const val kotlinTest = kotlin @@ -28,6 +29,7 @@ object Dependencies { "org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.kotlinxSerialization}" const val `kotlinx-coroutines` = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinxCoroutines}" const val `kotlinx-atomicfu` = "org.jetbrains.kotlinx:atomicfu-jvm:${Versions.atomicFu}" + const val `kotlinx-datetime` = "org.jetbrains.kotlinx:kotlinx-datetime:${Versions.dateTime}" const val `kotlin-logging` = "io.github.microutils:kotlin-logging:${Versions.kotlinLogging}" diff --git a/common/api/common.api b/common/api/common.api index b0500fd8993..7fba328e126 100644 --- a/common/api/common.api +++ b/common/api/common.api @@ -99,6 +99,7 @@ public final class dev/kord/common/entity/ActivityFlags$Companion { public final class dev/kord/common/entity/ActivityType : java/lang/Enum { public static final field ActivityTypeSerializer Ldev/kord/common/entity/ActivityType$ActivityTypeSerializer; + public static final field Competing Ldev/kord/common/entity/ActivityType; public static final field Custom Ldev/kord/common/entity/ActivityType; public static final field Game Ldev/kord/common/entity/ActivityType; public static final field Listening Ldev/kord/common/entity/ActivityType; @@ -134,11 +135,11 @@ public final class dev/kord/common/entity/AllRemovedMessageReactions { public final fun getMessageId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/AllRemovedMessageReactions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/AllRemovedMessageReactions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/AllRemovedMessageReactions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/AllRemovedMessageReactions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -196,11 +197,11 @@ public final class dev/kord/common/entity/AllowedMentions { public final fun getUsers ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/AllowedMentions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/AllowedMentions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/AllowedMentions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/AllowedMentions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -226,11 +227,11 @@ public final class dev/kord/common/entity/ApplicationCommandOption { public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; public final fun getRequired ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; - public static final fun write$Self (Ldev/kord/common/entity/ApplicationCommandOption;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/ApplicationCommandOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOption$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ApplicationCommandOption; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -266,6 +267,10 @@ public final class dev/kord/common/entity/ApplicationCommandOptionType$Integer : public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOptionType$Integer; } +public final class dev/kord/common/entity/ApplicationCommandOptionType$Mentionable : dev/kord/common/entity/ApplicationCommandOptionType { + public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOptionType$Mentionable; +} + public final class dev/kord/common/entity/ApplicationCommandOptionType$Role : dev/kord/common/entity/ApplicationCommandOptionType { public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOptionType$Role; } @@ -541,11 +546,11 @@ public final class dev/kord/common/entity/AuditLogEntryOptionalInfo { public final fun getType ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/AuditLogEntryOptionalInfo;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/AuditLogEntryOptionalInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/AuditLogEntryOptionalInfo$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/AuditLogEntryOptionalInfo; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -729,11 +734,11 @@ public final class dev/kord/common/entity/BulkDeleteData { public final fun getIds ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/BulkDeleteData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/BulkDeleteData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/BulkDeleteData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/BulkDeleteData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -747,6 +752,45 @@ public final class dev/kord/common/entity/BulkDeleteData$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract class dev/kord/common/entity/ButtonStyle { + public static final field Serializer Ldev/kord/common/entity/ButtonStyle$Serializer; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getValue ()I +} + +public final class dev/kord/common/entity/ButtonStyle$Danger : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Danger; +} + +public final class dev/kord/common/entity/ButtonStyle$Link : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Link; +} + +public final class dev/kord/common/entity/ButtonStyle$Primary : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Primary; +} + +public final class dev/kord/common/entity/ButtonStyle$Secondary : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Secondary; +} + +public final class dev/kord/common/entity/ButtonStyle$Serializer : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ButtonStyle; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/ButtonStyle;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/ButtonStyle$Success : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Success; +} + +public final class dev/kord/common/entity/ButtonStyle$Unknown : dev/kord/common/entity/ButtonStyle { + public fun (I)V +} + public abstract class dev/kord/common/entity/ChannelType { public static final field Companion Ldev/kord/common/entity/ChannelType$Companion; public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -773,6 +817,10 @@ public final class dev/kord/common/entity/ChannelType$GuildNews : dev/kord/commo public static final field INSTANCE Ldev/kord/common/entity/ChannelType$GuildNews; } +public final class dev/kord/common/entity/ChannelType$GuildStageVoice : dev/kord/common/entity/ChannelType { + public static final field INSTANCE Ldev/kord/common/entity/ChannelType$GuildStageVoice; +} + public final class dev/kord/common/entity/ChannelType$GuildStore : dev/kord/common/entity/ChannelType { public static final field INSTANCE Ldev/kord/common/entity/ChannelType$GuildStore; } @@ -813,40 +861,79 @@ public final class dev/kord/common/entity/Choice$StringChoice : dev/kord/common/ public fun getValue ()Ljava/lang/String; } -public final class dev/kord/common/entity/CommandArgument : dev/kord/common/entity/Option { +public abstract class dev/kord/common/entity/CommandArgument : dev/kord/common/entity/Option { public static final field Companion Ldev/kord/common/entity/CommandArgument$Companion; - public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ljava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;)V - public final fun component1 ()Ljava/lang/String; - public final fun component2 ()Ldev/kord/common/entity/DiscordOptionValue; - public final fun copy (Ljava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;)Ldev/kord/common/entity/CommandArgument; - public static synthetic fun copy$default (Ldev/kord/common/entity/CommandArgument;Ljava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;ILjava/lang/Object;)Ldev/kord/common/entity/CommandArgument; - public fun equals (Ljava/lang/Object;)Z + public abstract fun getValue ()Ljava/lang/Object; +} + +public final class dev/kord/common/entity/CommandArgument$BooleanArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Z)V public fun getName ()Ljava/lang/String; - public final fun getValue ()Ldev/kord/common/entity/DiscordOptionValue; - public fun hashCode ()I + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ljava/lang/Boolean; + public synthetic fun getValue ()Ljava/lang/Object; public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/CommandArgument;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } -public final class dev/kord/common/entity/CommandArgument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/kord/common/entity/CommandArgument$$serializer; - public fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/CommandArgument; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/CommandArgument;)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/CommandArgument$ChannelArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; } public final class dev/kord/common/entity/CommandArgument$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; + public final fun serializer (Lkotlinx/serialization/KSerializer;)Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/CommandArgument$IntegerArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;I)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ljava/lang/Integer; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$MentionableArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$RoleArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$StringArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ljava/lang/String;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public synthetic fun getValue ()Ljava/lang/Object; + public fun getValue ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$UserArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; } public final class dev/kord/common/entity/CommandGroup : dev/kord/common/entity/Option { - public static final field Companion Ldev/kord/common/entity/CommandGroup$Companion; - public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V public fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;)V public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; @@ -856,24 +943,36 @@ public final class dev/kord/common/entity/CommandGroup : dev/kord/common/entity/ public fun equals (Ljava/lang/Object;)Z public fun getName ()Ljava/lang/String; public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/CommandGroup;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } -public final class dev/kord/common/entity/CommandGroup$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/kord/common/entity/CommandGroup$$serializer; - public fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/CommandGroup; +public abstract class dev/kord/common/entity/ComponentType { + public static final field Serializer Ldev/kord/common/entity/ComponentType$Serializer; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getValue ()I +} + +public final class dev/kord/common/entity/ComponentType$ActionRow : dev/kord/common/entity/ComponentType { + public static final field INSTANCE Ldev/kord/common/entity/ComponentType$ActionRow; +} + +public final class dev/kord/common/entity/ComponentType$Button : dev/kord/common/entity/ComponentType { + public static final field INSTANCE Ldev/kord/common/entity/ComponentType$Button; +} + +public final class dev/kord/common/entity/ComponentType$Serializer : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ComponentType; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/CommandGroup;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/ComponentType;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V - public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/kord/common/entity/CommandGroup$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; +public final class dev/kord/common/entity/ComponentType$Unknown : dev/kord/common/entity/ComponentType { + public fun (I)V } public abstract class dev/kord/common/entity/DefaultMessageNotificationLevel { @@ -914,11 +1013,11 @@ public final class dev/kord/common/entity/DeletedMessage { public final fun getId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DeletedMessage;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DeletedMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DeletedMessage$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DeletedMessage; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -934,15 +1033,16 @@ public final class dev/kord/common/entity/DeletedMessage$Companion { public final class dev/kord/common/entity/DiscordActivity { public static final field Companion Ldev/kord/common/entity/DiscordActivity$Companion; - public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;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/Optional; 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/OptionalBoolean; public final fun component14 ()Ldev/kord/common/entity/optional/Optional; + public final fun component15 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ldev/kord/common/entity/ActivityType; public final fun component3 ()Ldev/kord/common/entity/optional/Optional; public final fun component4 ()J @@ -951,11 +1051,12 @@ public final class dev/kord/common/entity/DiscordActivity { 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 (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordActivity; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordActivity;Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordActivity; + public final fun copy (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordActivity; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordActivity;Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/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/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordActivity; public fun equals (Ljava/lang/Object;)Z public final fun getApplicationId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getAssets ()Ldev/kord/common/entity/optional/Optional; + public final fun getButtons ()Ldev/kord/common/entity/optional/Optional; public final fun getCreatedAt ()J public final fun getDetails ()Ldev/kord/common/entity/optional/Optional; public final fun getEmoji ()Ldev/kord/common/entity/optional/Optional; @@ -970,11 +1071,11 @@ public final class dev/kord/common/entity/DiscordActivity { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivity;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivity$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivity; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1007,11 +1108,11 @@ public final class dev/kord/common/entity/DiscordActivityAssets { public final fun getSmallText ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityAssets;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityAssets$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityAssets$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityAssets; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1041,11 +1142,11 @@ public final class dev/kord/common/entity/DiscordActivityEmoji { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityEmoji;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityEmoji$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityEmoji; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1074,11 +1175,11 @@ public final class dev/kord/common/entity/DiscordActivityParty { public final fun getSize ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityParty;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityParty$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityParty$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityParty; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1127,11 +1228,11 @@ public final class dev/kord/common/entity/DiscordActivitySecrets { public final fun getSpectate ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivitySecrets;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivitySecrets$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivitySecrets$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivitySecrets; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1160,11 +1261,11 @@ public final class dev/kord/common/entity/DiscordActivityTimeStamps { public final fun getStart ()Ldev/kord/common/entity/optional/OptionalLong; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityTimeStamps;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityTimeStamps$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityTimeStamps$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityTimeStamps; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1206,11 +1307,11 @@ public final class dev/kord/common/entity/DiscordAddedGuildMember { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAddedGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAddedGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAddedGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAddedGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1248,11 +1349,11 @@ public final class dev/kord/common/entity/DiscordApplicationCommand { public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordApplicationCommand;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordApplicationCommand$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordApplicationCommand$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordApplicationCommand; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1266,42 +1367,6 @@ public final class dev/kord/common/entity/DiscordApplicationCommand$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/kord/common/entity/DiscordApplicationCommandInteractionData { - public static final field Companion Ldev/kord/common/entity/DiscordApplicationCommandInteractionData$Companion; - public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;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 component2 ()Ljava/lang/String; - public final fun component3 ()Ldev/kord/common/entity/optional/Optional; - public final fun component4 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; - public fun equals (Ljava/lang/Object;)Z - public final fun getId ()Ldev/kord/common/entity/Snowflake; - public final fun getName ()Ljava/lang/String; - public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; - public final fun getResolved ()Ldev/kord/common/entity/optional/Optional; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V -} - -public final class dev/kord/common/entity/DiscordApplicationCommandInteractionData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/kord/common/entity/DiscordApplicationCommandInteractionData$$serializer; - public fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;)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/DiscordApplicationCommandInteractionData$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; -} - public final class dev/kord/common/entity/DiscordAttachment { public static final field Companion Ldev/kord/common/entity/DiscordAttachment$Companion; public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -1326,11 +1391,11 @@ public final class dev/kord/common/entity/DiscordAttachment { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAttachment;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAttachment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAttachment$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAttachment; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1361,11 +1426,11 @@ public final class dev/kord/common/entity/DiscordAuditLog { public final fun getWebhooks ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAuditLog;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAuditLog$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAuditLog$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAuditLog; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1404,11 +1469,11 @@ public final class dev/kord/common/entity/DiscordAuditLogEntry { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAuditLogEntry;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAuditLogEntry$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAuditLogEntry$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAuditLogEntry; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1448,11 +1513,11 @@ public final class dev/kord/common/entity/DiscordAuditLogRoleChange { public final fun getPosition ()Ljava/lang/Integer; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAuditLogRoleChange;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAuditLogRoleChange$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAuditLogRoleChange$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAuditLogRoleChange; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1482,11 +1547,11 @@ public final class dev/kord/common/entity/DiscordBotActivity { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordBotActivity;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordBotActivity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordBotActivity$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordBotActivity; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1548,11 +1613,11 @@ public final class dev/kord/common/entity/DiscordChannel { public final fun getUserLimit ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordChannel;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordChannel$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordChannel; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1583,11 +1648,11 @@ public final class dev/kord/common/entity/DiscordClientStatus { public final fun getWeb ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordClientStatus;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordClientStatus$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordClientStatus$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordClientStatus; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1601,6 +1666,50 @@ public final class dev/kord/common/entity/DiscordClientStatus$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordComponent { + public static final field Companion Ldev/kord/common/entity/DiscordComponent$Companion; + public synthetic fun (ILdev/kord/common/entity/ComponentType;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/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/ComponentType;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/Optional;)V + public synthetic fun (Ldev/kord/common/entity/ComponentType;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/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/kord/common/entity/ComponentType; + 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; + public final fun component5 ()Ldev/kord/common/entity/optional/Optional; + public final fun component6 ()Ldev/kord/common/entity/optional/Optional; + public final fun component7 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component8 ()Ldev/kord/common/entity/optional/Optional; + public final fun copy (Ldev/kord/common/entity/ComponentType;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/Optional;)Ldev/kord/common/entity/DiscordComponent; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordComponent;Ldev/kord/common/entity/ComponentType;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/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordComponent; + public fun equals (Ljava/lang/Object;)Z + public final fun getComponents ()Ldev/kord/common/entity/optional/Optional; + public final fun getCustomId ()Ldev/kord/common/entity/optional/Optional; + public final fun getDisabled ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun getEmoji ()Ldev/kord/common/entity/optional/Optional; + public final fun getLabel ()Ldev/kord/common/entity/optional/Optional; + public final fun getStyle ()Ldev/kord/common/entity/optional/Optional; + public final fun getType ()Ldev/kord/common/entity/ComponentType; + public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/DiscordComponent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordComponent$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordComponent; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordComponent;)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/DiscordComponent$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordConnection { public static final field Companion Ldev/kord/common/entity/DiscordConnection$Companion; public synthetic fun (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ZZZLdev/kord/common/entity/DiscordConnectionVisibility;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -1629,11 +1738,11 @@ public final class dev/kord/common/entity/DiscordConnection { public final fun getVisibility ()Ldev/kord/common/entity/DiscordConnectionVisibility; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordConnection;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordConnection$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordConnection$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordConnection; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1682,11 +1791,11 @@ public final class dev/kord/common/entity/DiscordDeletedGuildRole { public final fun getId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordDeletedGuildRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordDeletedGuildRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordDeletedGuildRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordDeletedGuildRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1737,11 +1846,11 @@ public final class dev/kord/common/entity/DiscordEmbed { public final fun getVideo ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1770,11 +1879,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Author { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Author;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Author$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Author$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Author; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1808,11 +1917,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Field { public final fun getValue ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Field;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Field$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Field$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Field; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1842,11 +1951,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Footer { public final fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Footer;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Footer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Footer$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Footer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1879,11 +1988,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Image { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Image;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Image$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Image$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Image; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1912,11 +2021,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Provider { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Provider;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Provider$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Provider$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Provider; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1949,11 +2058,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Thumbnail { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Thumbnail;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Thumbnail$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Thumbnail$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Thumbnail; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1984,11 +2093,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Video { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Video;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Video$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Video$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Video; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2028,11 +2137,11 @@ public final class dev/kord/common/entity/DiscordEmoji { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmoji;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmoji$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmoji; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2048,9 +2157,9 @@ public final class dev/kord/common/entity/DiscordEmoji$Companion { public final class dev/kord/common/entity/DiscordGuild { public static final field Companion Ldev/kord/common/entity/DiscordGuild$Companion; - public synthetic fun (IILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (IILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;IILkotlin/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/Snowflake; @@ -2091,13 +2200,15 @@ public final class dev/kord/common/entity/DiscordGuild { public final fun component43 ()Ldev/kord/common/entity/optional/OptionalInt; public final fun component44 ()Ldev/kord/common/entity/optional/OptionalInt; public final fun component45 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component46 ()Ldev/kord/common/entity/optional/Optional; + public final fun component47 ()Ldev/kord/common/entity/NsfwLevel; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; public final fun component6 ()Ldev/kord/common/entity/optional/Optional; public final fun component7 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component8 ()Ldev/kord/common/entity/Snowflake; 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;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/common/entity/DiscordGuild; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordGuild;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;IILjava/lang/Object;)Ldev/kord/common/entity/DiscordGuild; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;)Ldev/kord/common/entity/DiscordGuild; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordGuild;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;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/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;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/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;IILjava/lang/Object;)Ldev/kord/common/entity/DiscordGuild; public fun equals (Ljava/lang/Object;)Z public final fun getAfkChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getAfkTimeout ()I @@ -2124,6 +2235,7 @@ public final class dev/kord/common/entity/DiscordGuild { public final fun getMembers ()Ldev/kord/common/entity/optional/Optional; public final fun getMfaLevel ()Ldev/kord/common/entity/MFALevel; public final fun getName ()Ljava/lang/String; + public final fun getNsfwLevel ()Ldev/kord/common/entity/NsfwLevel; public final fun getOwner ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getOwnerId ()Ldev/kord/common/entity/Snowflake; public final fun getPermissions ()Ldev/kord/common/entity/optional/Optional; @@ -2142,15 +2254,16 @@ public final class dev/kord/common/entity/DiscordGuild { public final fun getVanityUrlCode ()Ljava/lang/String; public final fun getVerificationLevel ()Ldev/kord/common/entity/VerificationLevel; public final fun getVoiceStates ()Ldev/kord/common/entity/optional/Optional; + public final fun getWelcomeScreen ()Ldev/kord/common/entity/optional/Optional; public final fun getWidgetChannelId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getWidgetEnabled ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuild;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuild$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuild$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuild; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2179,11 +2292,11 @@ public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermissi public final fun getType ()Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission$Type; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermission$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2245,11 +2358,11 @@ public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermissi public final fun getPermissions ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildApplicationCommandPermissions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermissions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildApplicationCommandPermissions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildApplicationCommandPermissions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2276,11 +2389,11 @@ public final class dev/kord/common/entity/DiscordGuildBan { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildBan;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildBan$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildBan$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildBan; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2305,11 +2418,11 @@ public final class dev/kord/common/entity/DiscordGuildIntegrations { public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildIntegrations;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildIntegrations$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildIntegrations$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildIntegrations; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2349,11 +2462,11 @@ public final class dev/kord/common/entity/DiscordGuildMember { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2396,11 +2509,11 @@ public final class dev/kord/common/entity/DiscordGuildPreview { public final fun getSplash ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildPreview;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildPreview$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildPreview$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildPreview; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2427,11 +2540,11 @@ public final class dev/kord/common/entity/DiscordGuildRole { public final fun getRole ()Ldev/kord/common/entity/DiscordRole; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2458,11 +2571,11 @@ public final class dev/kord/common/entity/DiscordGuildWidget { public final fun getEnabled ()Z public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildWidget;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildWidget$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildWidget$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildWidget; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2516,11 +2629,11 @@ public final class dev/kord/common/entity/DiscordIntegration { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordIntegration;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordIntegration$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordIntegration$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordIntegration; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2547,11 +2660,11 @@ public final class dev/kord/common/entity/DiscordIntegrationAccount { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordIntegrationAccount;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordIntegrationAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordIntegrationAccount$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordIntegrationAccount; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2578,11 +2691,11 @@ public final class dev/kord/common/entity/DiscordIntegrationsAccount { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordIntegrationsAccount;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordIntegrationsAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordIntegrationsAccount$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordIntegrationsAccount; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2598,39 +2711,25 @@ 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 synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;I)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;IILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Ldev/kord/common/entity/Snowflake; - public final fun component10 ()I - 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/DiscordApplicationCommandInteractionData; - public final fun component5 ()Ldev/kord/common/entity/optional/OptionalSnowflake; - public final fun component6 ()Ldev/kord/common/entity/Snowflake; - public final fun component7 ()Ldev/kord/common/entity/optional/Optional; - public final fun component8 ()Ldev/kord/common/entity/optional/Optional; - public final fun component9 ()Ljava/lang/String; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;I)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/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;IILjava/lang/Object;)Ldev/kord/common/entity/DiscordInteraction; - public fun equals (Ljava/lang/Object;)Z + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;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/InteractionType;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;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/InteractionType;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;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/InteractionType;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getApplicationId ()Ldev/kord/common/entity/Snowflake; public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; - public final fun getData ()Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; + public final fun getData ()Ldev/kord/common/entity/InteractionCallbackData; public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; + public final fun getMessage ()Ldev/kord/common/entity/optional/Optional; public final fun getToken ()Ljava/lang/String; public final fun getType ()Ldev/kord/common/entity/InteractionType; public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public final fun getVersion ()I - public fun hashCode ()I - public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInteraction;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInteraction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInteraction$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInteraction; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2668,11 +2767,11 @@ public final class dev/kord/common/entity/DiscordInteractionGuildMember { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInteractionGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInteractionGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInteractionGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInteractionGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2712,11 +2811,11 @@ public final class dev/kord/common/entity/DiscordInvite { public final fun getTargetUserType ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInvite;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInvite$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInvite$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInvite; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2749,11 +2848,11 @@ public final class dev/kord/common/entity/DiscordInviteMetadata { public final fun getUses ()I public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInviteMetadata;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInviteMetadata$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInviteMetadata$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInviteMetadata; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2784,11 +2883,11 @@ public final class dev/kord/common/entity/DiscordMentionedChannel { public final fun getType ()Ldev/kord/common/entity/ChannelType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMentionedChannel;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMentionedChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMentionedChannel$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMentionedChannel; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2804,9 +2903,9 @@ 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 synthetic fun (ILdev/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;Ljava/lang/String;Ljava/lang/String;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/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)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;Ljava/lang/String;Ljava/lang/String;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/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/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;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/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 synthetic fun (ILdev/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;Ljava/lang/String;Ljava/lang/String;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;Lkotlinx/serialization/internal/SerializationConstructorMarker;)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;Ljava/lang/String;Ljava/lang/String;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;)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;Ljava/lang/String;Ljava/lang/String;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;ILkotlin/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; @@ -2822,10 +2921,13 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun component20 ()Ldev/kord/common/entity/MessageType; 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 component23 ()Ldev/kord/common/entity/optional/OptionalSnowflake; 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 component27 ()Ldev/kord/common/entity/optional/Optional; + 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 component4 ()Ldev/kord/common/entity/DiscordUser; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; @@ -2833,20 +2935,23 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ljava/lang/String; 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;Ljava/lang/String;Ljava/lang/String;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/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)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;Ljava/lang/String;Ljava/lang/String;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/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/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;Ljava/lang/String;Ljava/lang/String;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/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;Ljava/lang/String;Ljava/lang/String;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;ILjava/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; + public final fun getApplicationId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getAttachments ()Ljava/util/List; public final fun getAuthor ()Ldev/kord/common/entity/DiscordUser; public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; + public final fun getComponents ()Ldev/kord/common/entity/optional/Optional; public final fun getContent ()Ljava/lang/String; public final fun getEditedTimestamp ()Ljava/lang/String; public final fun getEmbeds ()Ljava/util/List; public final fun getFlags ()Ldev/kord/common/entity/optional/Optional; 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 getMember ()Ldev/kord/common/entity/optional/Optional; public final fun getMentionEveryone ()Z public final fun getMentionRoles ()Ljava/util/List; @@ -2864,11 +2969,11 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun getWebhookId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMessage;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMessage$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessage; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2882,6 +2987,41 @@ public final class dev/kord/common/entity/DiscordMessage$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordMessageInteraction { + public static final field Companion Ldev/kord/common/entity/DiscordMessageInteraction$Companion; + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;)V + public final fun component1 ()Ldev/kord/common/entity/Snowflake; + public final fun component2 ()Ldev/kord/common/entity/InteractionType; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ldev/kord/common/entity/DiscordUser; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;)Ldev/kord/common/entity/DiscordMessageInteraction; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordMessageInteraction;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordMessageInteraction; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getName ()Ljava/lang/String; + 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 final class dev/kord/common/entity/DiscordMessageInteraction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordMessageInteraction$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessageInteraction; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordMessageInteraction;)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/DiscordMessageInteraction$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordMessageKt { public static final fun MessageFlags (Ljava/lang/Iterable;)Ldev/kord/common/entity/MessageFlags; public static final fun MessageFlags (Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/MessageFlags; @@ -2909,11 +3049,11 @@ public final class dev/kord/common/entity/DiscordMessageReference { public final fun getId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMessageReference;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMessageReference$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMessageReference$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessageReference; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2953,11 +3093,11 @@ public final class dev/kord/common/entity/DiscordMessageSticker { public final fun getTags ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMessageSticker;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMessageSticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMessageSticker$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessageSticker; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2979,29 +3119,6 @@ public final class dev/kord/common/entity/DiscordNull$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract class dev/kord/common/entity/DiscordOptionValue { - public static final field Companion Ldev/kord/common/entity/DiscordOptionValue$Companion; - public synthetic fun (Ljava/lang/Object;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun getValue ()Ljava/lang/Object; - public fun toString ()Ljava/lang/String; -} - -public final class dev/kord/common/entity/DiscordOptionValue$BooleanValue : dev/kord/common/entity/DiscordOptionValue { - public fun (Z)V -} - -public final class dev/kord/common/entity/DiscordOptionValue$Companion { - public final fun serializer (Lkotlinx/serialization/KSerializer;)Lkotlinx/serialization/KSerializer; -} - -public final class dev/kord/common/entity/DiscordOptionValue$IntValue : dev/kord/common/entity/DiscordOptionValue { - public fun (I)V -} - -public final class dev/kord/common/entity/DiscordOptionValue$StringValue : dev/kord/common/entity/DiscordOptionValue { - public fun (Ljava/lang/String;)V -} - public final class dev/kord/common/entity/DiscordOptionallyMemberUser { public static final field Companion Ldev/kord/common/entity/DiscordOptionallyMemberUser$Companion; public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;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/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;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -3040,11 +3157,11 @@ public final class dev/kord/common/entity/DiscordOptionallyMemberUser { public final fun getVerified ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordOptionallyMemberUser;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordOptionallyMemberUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordOptionallyMemberUser$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordOptionallyMemberUser; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3060,6 +3177,7 @@ public final class dev/kord/common/entity/DiscordOptionallyMemberUser$Companion public final class dev/kord/common/entity/DiscordPartialEmoji { public static final field Companion Ldev/kord/common/entity/DiscordPartialEmoji$Companion; + public fun ()V public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;)V public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -3074,11 +3192,11 @@ public final class dev/kord/common/entity/DiscordPartialEmoji { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialEmoji;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialEmoji$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialEmoji; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3104,11 +3222,11 @@ public final class dev/kord/common/entity/DiscordPartialGuild { public final fun getOwner ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getPermissions ()Ldev/kord/common/entity/optional/Optional; public final fun getWelcomeScreen ()Ldev/kord/common/entity/optional/Optional; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialGuild;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialGuild$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialGuild$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialGuild; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3139,11 +3257,11 @@ public final class dev/kord/common/entity/DiscordPartialIntegration { public final fun getType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialIntegration;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialIntegration$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialIntegration$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialIntegration; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3170,11 +3288,11 @@ public final class dev/kord/common/entity/DiscordPartialInvite { public final fun getUses ()I public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialInvite;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialInvite$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialInvite$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialInvite; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3190,9 +3308,9 @@ 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 synthetic fun (ILdev/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;Lkotlinx/serialization/internal/SerializationConstructorMarker;)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;)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;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/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;Lkotlinx/serialization/internal/SerializationConstructorMarker;)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;)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;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; @@ -3212,6 +3330,7 @@ public final class dev/kord/common/entity/DiscordPartialMessage { 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 component27 ()Ldev/kord/common/entity/optional/Optional; 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; @@ -3219,8 +3338,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/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;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/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;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; @@ -3233,6 +3352,7 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun getFlags ()Ldev/kord/common/entity/optional/Optional; 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 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; @@ -3250,11 +3370,11 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun getWebhookId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialMessage;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialMessage$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialMessage; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3296,11 +3416,11 @@ public final class dev/kord/common/entity/DiscordPartialRole { public final fun getTags ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3330,11 +3450,11 @@ public final class dev/kord/common/entity/DiscordPinsUpdateData { public final fun getLastPinTimestamp ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPinsUpdateData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPinsUpdateData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPinsUpdateData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPinsUpdateData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3368,11 +3488,11 @@ public final class dev/kord/common/entity/DiscordPresenceUpdate { public final fun getUser ()Ldev/kord/common/entity/DiscordPresenceUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPresenceUpdate;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPresenceUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPresenceUpdate$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPresenceUpdate; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3417,11 +3537,11 @@ public final class dev/kord/common/entity/DiscordRemovedGuildMember { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordRemovedGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordRemovedGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordRemovedGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordRemovedGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3463,11 +3583,11 @@ public final class dev/kord/common/entity/DiscordRole { public final fun getTags ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3498,11 +3618,11 @@ public final class dev/kord/common/entity/DiscordRoleTags { public final fun getPremiumSubscriber ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordRoleTags;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordRoleTags$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordRoleTags$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordRoleTags; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3539,6 +3659,41 @@ public final class dev/kord/common/entity/DiscordShard$Companion : kotlinx/seria public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordStageInstance { + public static final field Companion Ldev/kord/common/entity/DiscordStageInstance$Companion; + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;)V + public final fun component1 ()Ldev/kord/common/entity/Snowflake; + public final fun component2 ()Ldev/kord/common/entity/Snowflake; + public final fun component3 ()Ldev/kord/common/entity/Snowflake; + public final fun component4 ()Ljava/lang/String; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;)Ldev/kord/common/entity/DiscordStageInstance; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordStageInstance;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordStageInstance; + public fun equals (Ljava/lang/Object;)Z + public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; + public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; + public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/DiscordStageInstance$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordStageInstance$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordStageInstance; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordStageInstance;)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/DiscordStageInstance$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordTeam { public static final field Companion Ldev/kord/common/entity/DiscordTeam$Companion; public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/Snowflake;Ljava/util/List;Ldev/kord/common/entity/Snowflake;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -3556,11 +3711,11 @@ public final class dev/kord/common/entity/DiscordTeam { public final fun getOwnerUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTeam;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTeam$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTeam$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTeam; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3582,11 +3737,11 @@ public final class dev/kord/common/entity/DiscordTeamMember { public final fun getPermissions ()Ljava/util/List; public final fun getTeamId ()Ldev/kord/common/entity/Snowflake; public final fun getUser ()Ldev/kord/common/entity/DiscordUser; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTeamMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTeamMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTeamMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTeamMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3631,11 +3786,11 @@ public final class dev/kord/common/entity/DiscordTemplate { public fun hashCode ()I public final fun isDirty ()Ljava/lang/Boolean; public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTemplate;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTemplate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTemplate$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTemplate; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3669,11 +3824,11 @@ public final class dev/kord/common/entity/DiscordTyping { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTyping;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTyping$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTyping$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTyping; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3701,11 +3856,11 @@ public final class dev/kord/common/entity/DiscordUnavailableGuild { public final fun getUnavailable ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUnavailableGuild;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUnavailableGuild$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUnavailableGuild$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUnavailableGuild; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3732,11 +3887,11 @@ public final class dev/kord/common/entity/DiscordUpdatedEmojis { public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUpdatedEmojis;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUpdatedEmojis$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUpdatedEmojis$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUpdatedEmojis; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3774,11 +3929,11 @@ public final class dev/kord/common/entity/DiscordUpdatedGuildMember { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUpdatedGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUpdatedGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUpdatedGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUpdatedGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3828,11 +3983,11 @@ public final class dev/kord/common/entity/DiscordUser { public final fun getVerified ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUser;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUser$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUser; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3871,11 +4026,11 @@ public final class dev/kord/common/entity/DiscordVoiceRegion { public final fun getVip ()Z public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordVoiceRegion;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordVoiceRegion$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordVoiceRegion$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordVoiceRegion; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3904,11 +4059,11 @@ public final class dev/kord/common/entity/DiscordVoiceServerUpdateData { public final fun getToken ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordVoiceServerUpdateData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordVoiceServerUpdateData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordVoiceServerUpdateData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordVoiceServerUpdateData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3924,13 +4079,14 @@ public final class dev/kord/common/entity/DiscordVoiceServerUpdateData$Companion public final class dev/kord/common/entity/DiscordVoiceState { public static final field Companion Ldev/kord/common/entity/DiscordVoiceState$Companion; - public synthetic fun (ILdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;Z)V - public synthetic fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;)V + public synthetic fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component10 ()Z public final fun component11 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component12 ()Z + public final fun component13 ()Ljava/lang/String; public final fun component2 ()Ldev/kord/common/entity/Snowflake; public final fun component3 ()Ldev/kord/common/entity/Snowflake; public final fun component4 ()Ldev/kord/common/entity/optional/Optional; @@ -3939,14 +4095,15 @@ public final class dev/kord/common/entity/DiscordVoiceState { public final fun component7 ()Z public final fun component8 ()Z public final fun component9 ()Z - public final fun copy (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;Z)Ldev/kord/common/entity/DiscordVoiceState; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordVoiceState;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZILjava/lang/Object;)Ldev/kord/common/entity/DiscordVoiceState; + public final fun copy (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;)Ldev/kord/common/entity/DiscordVoiceState; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordVoiceState;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordVoiceState; public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getDeaf ()Z public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; public final fun getMute ()Z + public final fun getRequestToSpeakTimestamp ()Ljava/lang/String; public final fun getSelfDeaf ()Z public final fun getSelfMute ()Z public final fun getSelfStream ()Ldev/kord/common/entity/optional/OptionalBoolean; @@ -3956,11 +4113,11 @@ public final class dev/kord/common/entity/DiscordVoiceState { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordVoiceState;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordVoiceState$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordVoiceState$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordVoiceState; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4002,11 +4159,11 @@ public final class dev/kord/common/entity/DiscordWebhook { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWebhook;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWebhook$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWebhook$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWebhook; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4033,11 +4190,11 @@ public final class dev/kord/common/entity/DiscordWebhooksUpdateData { public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWebhooksUpdateData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWebhooksUpdateData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWebhooksUpdateData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWebhooksUpdateData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4064,11 +4221,11 @@ public final class dev/kord/common/entity/DiscordWelcomeScreen { public final fun getWelcomeChannels ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWelcomeScreen;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWelcomeScreen$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWelcomeScreen$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWelcomeScreen; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4099,11 +4256,11 @@ public final class dev/kord/common/entity/DiscordWelcomeScreenChannel { public final fun getEmojiName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWelcomeScreenChannel;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWelcomeScreenChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWelcomeScreenChannel$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWelcomeScreenChannel; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4269,11 +4426,11 @@ public final class dev/kord/common/entity/IntegrationApplication { public final fun getSummary ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/IntegrationApplication;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/IntegrationApplication$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/IntegrationApplication$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/IntegrationApplication; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4314,6 +4471,47 @@ public final class dev/kord/common/entity/IntegrationExpireBehavior$Unknown : de public fun (I)V } +public final class dev/kord/common/entity/InteractionCallbackData { + public static final field Companion Ldev/kord/common/entity/InteractionCallbackData$Companion; + public fun ()V + public synthetic fun (ILdev/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;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (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;)V + public synthetic fun (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;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + 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; + public final fun component5 ()Ldev/kord/common/entity/optional/Optional; + public final fun component6 ()Ldev/kord/common/entity/optional/Optional; + public final fun copy (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/InteractionCallbackData; + public static synthetic fun copy$default (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/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/InteractionCallbackData; + public fun equals (Ljava/lang/Object;)Z + public final fun getComponentType ()Ldev/kord/common/entity/optional/Optional; + public final fun getCustomId ()Ldev/kord/common/entity/optional/Optional; + public final fun getId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getName ()Ldev/kord/common/entity/optional/Optional; + public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; + public final fun getResolved ()Ldev/kord/common/entity/optional/Optional; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/InteractionCallbackData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/InteractionCallbackData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/InteractionCallbackData; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/InteractionCallbackData;)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/InteractionCallbackData$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + 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 @@ -4332,6 +4530,10 @@ public final class dev/kord/common/entity/InteractionResponseType$DeferredChanne public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$DeferredChannelMessageWithSource; } +public final class dev/kord/common/entity/InteractionResponseType$DeferredUpdateMessage : dev/kord/common/entity/InteractionResponseType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$DeferredUpdateMessage; +} + public final class dev/kord/common/entity/InteractionResponseType$Pong : dev/kord/common/entity/InteractionResponseType { public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$Pong; } @@ -4340,6 +4542,10 @@ public final class dev/kord/common/entity/InteractionResponseType$Unknown : dev/ public fun (I)V } +public final class dev/kord/common/entity/InteractionResponseType$UpdateMessage : dev/kord/common/entity/InteractionResponseType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$UpdateMessage; +} + public abstract class dev/kord/common/entity/InteractionType { public static final field Companion Ldev/kord/common/entity/InteractionType$Companion; public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -4355,6 +4561,10 @@ public final class dev/kord/common/entity/InteractionType$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/InteractionType$Component : dev/kord/common/entity/InteractionType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionType$Component; +} + public final class dev/kord/common/entity/InteractionType$Ping : dev/kord/common/entity/InteractionType { public static final field INSTANCE Ldev/kord/common/entity/InteractionType$Ping; } @@ -4364,12 +4574,11 @@ public final class dev/kord/common/entity/InteractionType$Unknown : dev/kord/com } public final class dev/kord/common/entity/InteractionsKt { - public static final fun DiscordOptionValue (Lkotlinx/serialization/json/JsonPrimitive;)Ldev/kord/common/entity/DiscordOptionValue; - public static final fun boolean (Ldev/kord/common/entity/DiscordOptionValue;)Z + public static final fun boolean (Ldev/kord/common/entity/CommandArgument;)Z public static final fun getKordLogger ()Lmu/KLogger; - public static final fun int (Ldev/kord/common/entity/DiscordOptionValue;)I - public static final fun snowflake (Ldev/kord/common/entity/DiscordOptionValue;)Ldev/kord/common/entity/Snowflake; - public static final fun string (Ldev/kord/common/entity/DiscordOptionValue;)Ljava/lang/String; + public static final fun int (Ldev/kord/common/entity/CommandArgument;)I + public static final fun snowflake (Ldev/kord/common/entity/CommandArgument;)Ldev/kord/common/entity/Snowflake; + public static final fun string (Ldev/kord/common/entity/CommandArgument;)Ljava/lang/String; } public abstract class dev/kord/common/entity/MFALevel { @@ -4408,11 +4617,11 @@ public final class dev/kord/common/entity/MessageActivity { public final fun getType ()Ldev/kord/common/entity/MessageActivityType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageActivity;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageActivity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageActivity$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageActivity; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4476,11 +4685,11 @@ public final class dev/kord/common/entity/MessageApplication { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageApplication;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageApplication$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageApplication$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageApplication; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4557,11 +4766,11 @@ public final class dev/kord/common/entity/MessageReactionAddData { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageReactionAddData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageReactionAddData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageReactionAddData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageReactionAddData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4595,11 +4804,11 @@ public final class dev/kord/common/entity/MessageReactionRemoveData { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageReactionRemoveData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageReactionRemoveData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageReactionRemoveData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageReactionRemoveData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4640,36 +4849,107 @@ public final class dev/kord/common/entity/MessageStickerType$Unknown : dev/kord/ public fun (I)V } -public final class dev/kord/common/entity/MessageType : java/lang/Enum { - public static final field Call Ldev/kord/common/entity/MessageType; - public static final field ChannelFollowAdd Ldev/kord/common/entity/MessageType; - public static final field ChannelIconChange Ldev/kord/common/entity/MessageType; - public static final field ChannelNameChange Ldev/kord/common/entity/MessageType; - public static final field ChannelPinnedMessage Ldev/kord/common/entity/MessageType; - public static final field Default Ldev/kord/common/entity/MessageType; - public static final field GuildDiscoveryDisqualified Ldev/kord/common/entity/MessageType; - public static final field GuildDiscoveryRequalified Ldev/kord/common/entity/MessageType; - public static final field GuildMemberJoin Ldev/kord/common/entity/MessageType; - public static final field MessageTypeSerializer Ldev/kord/common/entity/MessageType$MessageTypeSerializer; - public static final field RecipientAdd Ldev/kord/common/entity/MessageType; - public static final field RecipientRemove Ldev/kord/common/entity/MessageType; - public static final field Reply Ldev/kord/common/entity/MessageType; - public static final field Unknown Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscription Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscriptionThree Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscriptionTierOne Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscriptionTwo Ldev/kord/common/entity/MessageType; +public abstract class dev/kord/common/entity/MessageType { + public static final field Companion Ldev/kord/common/entity/MessageType$Companion; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getCode ()I - public static fun valueOf (Ljava/lang/String;)Ldev/kord/common/entity/MessageType; - public static fun values ()[Ldev/kord/common/entity/MessageType; } -public final class dev/kord/common/entity/MessageType$MessageTypeSerializer : kotlinx/serialization/KSerializer { - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageType; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/MessageType;)V - public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V +public final class dev/kord/common/entity/MessageType$ApplicationCommand : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ApplicationCommand; +} + +public final class dev/kord/common/entity/MessageType$Call : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$Call; +} + +public final class dev/kord/common/entity/MessageType$ChannelFollowAdd : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelFollowAdd; +} + +public final class dev/kord/common/entity/MessageType$ChannelIconChange : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelIconChange; +} + +public final class dev/kord/common/entity/MessageType$ChannelNameChange : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelNameChange; +} + +public final class dev/kord/common/entity/MessageType$ChannelPinnedMessage : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelPinnedMessage; +} + +public final class dev/kord/common/entity/MessageType$Companion { + public final fun getValues ()Ljava/util/Set; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/MessageType$Default : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$Default; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryDisqualified : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryDisqualified; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodFinalWarning : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodFinalWarning; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodInitialWarning : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodInitialWarning; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryRequalified : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryRequalified; +} + +public final class dev/kord/common/entity/MessageType$GuildInviteReminder : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildInviteReminder; +} + +public final class dev/kord/common/entity/MessageType$GuildMemberJoin : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildMemberJoin; +} + +public final class dev/kord/common/entity/MessageType$RecipientAdd : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$RecipientAdd; +} + +public final class dev/kord/common/entity/MessageType$RecipientRemove : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$RecipientRemove; +} + +public final class dev/kord/common/entity/MessageType$Reply : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$Reply; +} + +public final class dev/kord/common/entity/MessageType$ThreadCreated : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ThreadCreated; +} + +public final class dev/kord/common/entity/MessageType$ThreadStarterMessage : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ThreadStarterMessage; +} + +public final class dev/kord/common/entity/MessageType$Unknown : dev/kord/common/entity/MessageType { + public fun (I)V +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscription : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscription; +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionThree : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionThree; +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTierOne : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTierOne; +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTwo : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTwo; } public final class dev/kord/common/entity/NotSerializable : kotlinx/serialization/KSerializer { @@ -4681,9 +4961,40 @@ public final class dev/kord/common/entity/NotSerializable : kotlinx/serializatio public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V } +public abstract class dev/kord/common/entity/NsfwLevel { + public static final field Companion Ldev/kord/common/entity/NsfwLevel$Companion; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getValue ()I +} + +public final class dev/kord/common/entity/NsfwLevel$AgeRestricted : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$AgeRestricted; +} + +public final class dev/kord/common/entity/NsfwLevel$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/NsfwLevel$Default : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$Default; +} + +public final class dev/kord/common/entity/NsfwLevel$Explicit : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$Explicit; +} + +public final class dev/kord/common/entity/NsfwLevel$Safe : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$Safe; +} + +public final class dev/kord/common/entity/NsfwLevel$Unknown : dev/kord/common/entity/NsfwLevel { + public fun (I)V +} + public abstract class dev/kord/common/entity/Option { public static final field Companion Ldev/kord/common/entity/Option$Companion; public abstract fun getName ()Ljava/lang/String; + public abstract fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; } public final class dev/kord/common/entity/Option$Companion { @@ -4707,11 +5018,11 @@ public final class dev/kord/common/entity/Overwrite { public final fun getType ()Ldev/kord/common/entity/OverwriteType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/Overwrite;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/Overwrite$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/Overwrite$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/Overwrite; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4760,11 +5071,11 @@ public final class dev/kord/common/entity/PartialDiscordGuildApplicationCommandP public final fun getPermissions ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4780,6 +5091,7 @@ public final class dev/kord/common/entity/PartialDiscordGuildApplicationCommandP public abstract class dev/kord/common/entity/Permission { public static final field Companion Ldev/kord/common/entity/Permission$Companion; + public synthetic fun (Ldev/kord/common/DiscordBitSet;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun ([JLkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getCode ()Ldev/kord/common/DiscordBitSet; } @@ -4880,6 +5192,10 @@ public final class dev/kord/common/entity/Permission$ReadMessageHistory : dev/ko public static final field INSTANCE Ldev/kord/common/entity/Permission$ReadMessageHistory; } +public final class dev/kord/common/entity/Permission$RequestToSpeak : dev/kord/common/entity/Permission { + public static final field INSTANCE Ldev/kord/common/entity/Permission$RequestToSpeak; +} + public final class dev/kord/common/entity/Permission$SendMessages : dev/kord/common/entity/Permission { public static final field INSTANCE Ldev/kord/common/entity/Permission$SendMessages; } @@ -4892,6 +5208,10 @@ public final class dev/kord/common/entity/Permission$Speak : dev/kord/common/ent public static final field INSTANCE Ldev/kord/common/entity/Permission$Speak; } +public final class dev/kord/common/entity/Permission$Stream : dev/kord/common/entity/Permission { + public static final field INSTANCE Ldev/kord/common/entity/Permission$Stream; +} + public final class dev/kord/common/entity/Permission$UseExternalEmojis : dev/kord/common/entity/Permission { public static final field INSTANCE Ldev/kord/common/entity/Permission$UseExternalEmojis; } @@ -5043,11 +5363,11 @@ public final class dev/kord/common/entity/Reaction { public final fun getMe ()Z public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/Reaction;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/Reaction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/Reaction$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/Reaction; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5080,11 +5400,11 @@ public final class dev/kord/common/entity/ResolvedObjects { public final fun getUsers ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/ResolvedObjects;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/ResolvedObjects$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/ResolvedObjects$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ResolvedObjects; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5102,20 +5422,20 @@ public final class dev/kord/common/entity/Snowflake : java/lang/Comparable { public static final field Companion Ldev/kord/common/entity/Snowflake$Companion; public fun (J)V public fun (Ljava/lang/String;)V - public fun (Ljava/time/Instant;)V + public fun (Lkotlinx/datetime/Instant;)V public fun compareTo (Ldev/kord/common/entity/Snowflake;)I public synthetic fun compareTo (Ljava/lang/Object;)I public fun equals (Ljava/lang/Object;)Z public final fun getAsString ()Ljava/lang/String; public final fun getTimeMark ()Lkotlin/time/TimeMark; - public final fun getTimeStamp ()Ljava/time/Instant; + public final fun getTimeStamp ()Lkotlinx/datetime/Instant; public final fun getValue ()J public fun hashCode ()I public fun toString ()Ljava/lang/String; } public final class dev/kord/common/entity/Snowflake$Companion { - public final fun getDiscordEpochStart ()Ljava/time/Instant; + public final fun getDiscordEpochStart ()Lkotlinx/datetime/Instant; public final fun getMax ()Ldev/kord/common/entity/Snowflake; public final fun getMin ()Ldev/kord/common/entity/Snowflake; public final fun serializer ()Lkotlinx/serialization/KSerializer; @@ -5133,13 +5453,14 @@ public final class dev/kord/common/entity/SubCommand : dev/kord/common/entity/Op public fun equals (Ljava/lang/Object;)Z public fun getName ()Ljava/lang/String; public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/SubCommand;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/SubCommand$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/SubCommand$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/SubCommand; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5479,6 +5800,7 @@ public final class dev/kord/common/entity/optional/OptionalKt { public static final fun filterList (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun first (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun firstOrNull (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun flatMap (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun map (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun mapList (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun mapNotNull (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; @@ -5594,8 +5916,8 @@ public abstract class dev/kord/common/exception/RequestException : java/lang/Exc } public final class dev/kord/common/ratelimit/BucketRateLimiter : dev/kord/common/ratelimit/RateLimiter { - public synthetic fun (IDLjava/time/Clock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (IDLjava/time/Clock;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (IJLkotlinx/datetime/Clock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (IJLkotlinx/datetime/Clock;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun consume (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 93413505262..88f16fa192b 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -13,11 +13,14 @@ configurations { } } +dependencies { + api(Dependencies.`kotlinx-datetime`) +} + tasks.withType { kotlinOptions { jvmTarget = Jvm.target freeCompilerArgs = listOf( - CompilerArguments.inlineClasses, CompilerArguments.coroutines, CompilerArguments.time, CompilerArguments.optIn diff --git a/common/src/main/kotlin/DiscordBitSet.kt b/common/src/main/kotlin/DiscordBitSet.kt index 64b9ae9f885..1cdcf1028af 100644 --- a/common/src/main/kotlin/DiscordBitSet.kt +++ b/common/src/main/kotlin/DiscordBitSet.kt @@ -70,7 +70,7 @@ class DiscordBitSet(internal var data: LongArray) { } operator fun plus(another: DiscordBitSet): DiscordBitSet { - val dist = LongArray(size) + val dist = LongArray(data.size) data.copyInto(dist) val copy = DiscordBitSet(dist) copy.add(another) @@ -78,7 +78,7 @@ class DiscordBitSet(internal var data: LongArray) { } operator fun minus(another: DiscordBitSet): DiscordBitSet { - val dist = LongArray(size) + val dist = LongArray(data.size) data.copyInto(dist) val copy = DiscordBitSet(dist) copy.remove(another) diff --git a/common/src/main/kotlin/entity/DiscordActivity.kt b/common/src/main/kotlin/entity/DiscordActivity.kt index ea3fdecd3c6..20de507c4fd 100644 --- a/common/src/main/kotlin/entity/DiscordActivity.kt +++ b/common/src/main/kotlin/entity/DiscordActivity.kt @@ -35,7 +35,8 @@ data class DiscordActivity( val assets: Optional = Optional.Missing(), val secrets: Optional = Optional.Missing(), val instance: OptionalBoolean = OptionalBoolean.Missing, - val flags: Optional = Optional.Missing() + val flags: Optional = Optional.Missing(), + val buttons: Optional> = Optional.Missing() ) enum class ActivityFlag(val value: Int) { @@ -136,7 +137,8 @@ enum class ActivityType(val code: Int) { Streaming(1), Listening(2), Watching(3), - Custom(4); + Custom(4), + Competing(5); companion object ActivityTypeSerializer : KSerializer { override val descriptor: SerialDescriptor diff --git a/common/src/main/kotlin/entity/DiscordChannel.kt b/common/src/main/kotlin/entity/DiscordChannel.kt index 3d96a0c5e8c..5fb9f3f522d 100644 --- a/common/src/main/kotlin/entity/DiscordChannel.kt +++ b/common/src/main/kotlin/entity/DiscordChannel.kt @@ -94,6 +94,8 @@ sealed class ChannelType(val value: Int) { /** A channel in which game developers can sell their game on Discord. */ object GuildStore : ChannelType(6) + object GuildStageVoice : ChannelType(13) + companion object; internal object Serializer : KSerializer { @@ -108,6 +110,7 @@ sealed class ChannelType(val value: Int) { 4 -> GuildCategory 5 -> GuildNews 6 -> GuildStore + 13 -> GuildStageVoice else -> Unknown(code) } diff --git a/common/src/main/kotlin/entity/DiscordComponent.kt b/common/src/main/kotlin/entity/DiscordComponent.kt new file mode 100644 index 00000000000..85f452d274c --- /dev/null +++ b/common/src/main/kotlin/entity/DiscordComponent.kt @@ -0,0 +1,140 @@ +package dev.kord.common.entity + +import dev.kord.common.annotation.KordPreview +import dev.kord.common.entity.optional.Optional +import dev.kord.common.entity.optional.OptionalBoolean +import kotlinx.serialization.KSerializer +import kotlinx.serialization.SerialName +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 + +/** + * Represent a [intractable component within a message sent in Discord](https://discord.com/developers/docs/interactions/message-components#what-are-components). + * + * @property type the [ComponentType] of the component + * @property style the [ButtonStyle] of the component (if it is a button) + * @property style the text that appears on the button (if the component is a button) + * @property emoji an [DiscordPartialEmoji] that appears on the button (if the component is a button) + * @property customId a developer-defined identifier for the button, max 100 characters + * @property url a url for link-style buttons + * @property disabled whether the button is disabled, default `false` + * @property components a list of child components (for action rows) + */ +@KordPreview +@Serializable +data class DiscordComponent( + val type: ComponentType, + val style: Optional = Optional.Missing(), + val label: Optional = Optional.Missing(), + val emoji: Optional = Optional.Missing(), + @SerialName("custom_id") + val customId: Optional = Optional.Missing(), + val url: Optional = Optional.Missing(), + val disabled: OptionalBoolean = OptionalBoolean.Missing, + val components: Optional> = Optional.Missing() +) + +/** + * Representation of different [DiscordComponent] types. + * + * @property value the raw type value used by the Discord API + */ +@KordPreview +@Serializable(with = ComponentType.Serializer::class) +sealed class ComponentType(val value: Int) { + + /** + * Fallback type used for types that haven't been added to Kord yet. + */ + class Unknown(value: Int) : ComponentType(value) + + /** + * A container for other components. + */ + object ActionRow : ComponentType(1) + + /** + * A clickable button. + */ + object Button : ComponentType(2) + + companion object Serializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("ComponentType", PrimitiveKind.INT) + + override fun deserialize(decoder: Decoder): ComponentType = + when (val value = decoder.decodeInt()) { + 1 -> ActionRow + 2 -> Button + else -> Unknown(value) + } + + override fun serialize(encoder: Encoder, value: ComponentType) = encoder.encodeInt(value.value) + } +} + +/** + * Representation of different ButtonStyles. + * + * A cheat sheet on how the styles look like can be found [here](https://discord.com/assets/7bb017ce52cfd6575e21c058feb3883b.png) + * + * @see ComponentType.Button + */ +@KordPreview +@Serializable(with = ButtonStyle.Serializer::class) +sealed class ButtonStyle(val value: Int) { + + /** + * A fallback style used for styles that haven't been added to Kord yet. + */ + class Unknown(value: Int) : ButtonStyle(value) + + /** + * Blurple. + * Requires: [DiscordComponent.customId] + */ + object Primary : ButtonStyle(1) + + /** + * Grey. + * Requires: [DiscordComponent.customId] + */ + object Secondary : ButtonStyle(2) + + /** + * Green + * Requires: [DiscordComponent.customId] + */ + object Success : ButtonStyle(3) + + /** + * Red. + * Requires: [DiscordComponent.customId] + */ + object Danger : ButtonStyle(4) + + /** + * Grey, navigates to an URL. + * Requires: [DiscordComponent.url] + */ + object Link : ButtonStyle(5) + + companion object Serializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("ButtonStyle", PrimitiveKind.INT) + + override fun deserialize(decoder: Decoder): ButtonStyle = + when (val value = decoder.decodeInt()) { + 1 -> Primary + 2 -> Secondary + 3 -> Success + 4 -> Danger + 5 -> Link + else -> Unknown(value) + } + + override fun serialize(encoder: Encoder, value: ButtonStyle) = encoder.encodeInt(value.value) + } +} diff --git a/common/src/main/kotlin/entity/DiscordEmoji.kt b/common/src/main/kotlin/entity/DiscordEmoji.kt index d096c5b966f..d008388215a 100644 --- a/common/src/main/kotlin/entity/DiscordEmoji.kt +++ b/common/src/main/kotlin/entity/DiscordEmoji.kt @@ -47,7 +47,7 @@ data class DiscordUpdatedEmojis( */ @Serializable data class DiscordPartialEmoji( - val id: Snowflake?, - val name: String?, + val id: Snowflake? = null, + val name: String? = null, val animated: OptionalBoolean = OptionalBoolean.Missing, ) \ No newline at end of file diff --git a/common/src/main/kotlin/entity/DiscordGuild.kt b/common/src/main/kotlin/entity/DiscordGuild.kt index 7893fdfba28..2b77282e92d 100644 --- a/common/src/main/kotlin/entity/DiscordGuild.kt +++ b/common/src/main/kotlin/entity/DiscordGuild.kt @@ -74,6 +74,7 @@ data class DiscordUnavailableGuild( * @param approximateMemberCount The approximate number of members in this guild, returned from the `GET /guild/` endpoint when `with_counts` is `true`. * @param approximatePresenceCount The approximate number of non-offline members in this guild, returned from the `GET /guild/` endpoint when `with_counts` is `true`. * @param welcomeScreen The welcome screen of a Community guild, shown to new members. + * @param nsfwLevel Guild NSFW level. */ @Serializable data class DiscordGuild( @@ -150,7 +151,10 @@ data class DiscordGuild( val approximateMemberCount: OptionalInt = OptionalInt.Missing, @SerialName("approximate_presence_count") val approximatePresenceCount: OptionalInt = OptionalInt.Missing, - + @SerialName("welcome_screen") + val welcomeScreen: Optional = Optional.Missing(), + @SerialName("nsfw_level") + val nsfwLevel: NsfwLevel ) /** @@ -372,6 +376,8 @@ data class DiscordVoiceState( @SerialName("self_stream") val selfStream: OptionalBoolean = OptionalBoolean.Missing, val suppress: Boolean, + @SerialName("request_to_speak_timestamp") + val requestToSpeakTimestamp: String? ) /** @@ -496,6 +502,40 @@ sealed class MFALevel(val value: Int) { } } } +/** + * A representation of a [Discord Guild NSFW Level](https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level). + */ +@Serializable(with = NsfwLevel.Serializer::class) +sealed class NsfwLevel(val value: Int) { + class Unknown(value: Int) : NsfwLevel(value) + + object Default : NsfwLevel(0) + + object Explicit : NsfwLevel(1) + + object Safe : NsfwLevel(2) + + object AgeRestricted : NsfwLevel(3) + + internal object Serializer : KSerializer { + + override val descriptor: SerialDescriptor + get() = PrimitiveSerialDescriptor("Kord.GuildNsfwLevel", PrimitiveKind.INT) + + override fun deserialize(decoder: Decoder): NsfwLevel = when (val value = decoder.decodeInt()) { + 0 -> Default + 1 -> Explicit + 2 -> Safe + 3 -> AgeRestricted + else -> Unknown(value) + } + + override fun serialize(encoder: Encoder, value: NsfwLevel) { + encoder.encodeInt(value.value) + } + + } +} /** @@ -557,4 +597,4 @@ data class DiscordWelcomeScreen( val description: String?, @SerialName("welcome_channels") val welcomeChannels: List -) \ No newline at end of file +) diff --git a/common/src/main/kotlin/entity/DiscordMessage.kt b/common/src/main/kotlin/entity/DiscordMessage.kt index a802889e7c8..dfaca152950 100644 --- a/common/src/main/kotlin/entity/DiscordMessage.kt +++ b/common/src/main/kotlin/entity/DiscordMessage.kt @@ -1,5 +1,6 @@ package dev.kord.common.entity +import dev.kord.common.annotation.KordPreview import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalBoolean import dev.kord.common.entity.optional.OptionalInt @@ -61,6 +62,8 @@ import kotlin.contracts.contract * @param flags Message flags. * @param stickers The stickers sent with the message (bots currently can only receive messages with stickers, not send). * @param referencedMessage the message associated with [messageReference]. + * @param applicationId if the message is a response to an [Interaction][DiscordInteraction], this is the id of the interaction's application + * @param components a list of [components][DiscordComponent] which have been added to this message */ @Serializable data class DiscordMessage( @@ -93,12 +96,20 @@ data class DiscordMessage( val type: MessageType, val activity: Optional = Optional.Missing(), val application: Optional = Optional.Missing(), + @SerialName("application_id") + val applicationId: OptionalSnowflake = OptionalSnowflake.Missing, @SerialName("message_reference") val messageReference: Optional = Optional.Missing(), val flags: Optional = Optional.Missing(), val stickers: Optional> = Optional.Missing(), @SerialName("referenced_message") val referencedMessage: Optional = Optional.Missing(), + /* + * don't trust the docs: + * This is a list even though the docs say it's a component + */ + val components: Optional> = Optional.Missing(), + val interaction: Optional = Optional.Missing() ) /** @@ -239,6 +250,7 @@ data class DiscordPartialMessage( val stickers: Optional> = Optional.Missing(), @SerialName("referenced_message") val referencedMessage: Optional = Optional.Missing(), + val interaction: Optional = Optional.Missing(), ) @Serializable @@ -719,42 +731,77 @@ data class AllRemovedMessageReactions( ) @Serializable(with = MessageType.MessageTypeSerializer::class) -enum class MessageType(val code: Int) { +sealed class MessageType(val code: Int) { /** The default code for unknown values. */ - Unknown(Int.MIN_VALUE), - Default(0), - RecipientAdd(1), - RecipientRemove(2), - Call(3), - ChannelNameChange(4), - ChannelIconChange(5), - ChannelPinnedMessage(6), - GuildMemberJoin(7), - UserPremiumGuildSubscription(8), - UserPremiumGuildSubscriptionTierOne(9), - UserPremiumGuildSubscriptionTwo(10), - UserPremiumGuildSubscriptionThree(11), - ChannelFollowAdd(12), - GuildDiscoveryDisqualified(14), + class Unknown(code: Int) : MessageType(code) + object Default : MessageType(0) + object RecipientAdd : MessageType(1) + object RecipientRemove : MessageType(2) + object Call : MessageType(3) + object ChannelNameChange : MessageType(4) + object ChannelIconChange : MessageType(5) + object ChannelPinnedMessage : MessageType(6) + object GuildMemberJoin : MessageType(7) + object UserPremiumGuildSubscription : MessageType(8) + object UserPremiumGuildSubscriptionTierOne : MessageType(9) + object UserPremiumGuildSubscriptionTwo : MessageType(10) + object UserPremiumGuildSubscriptionThree : MessageType(11) + object ChannelFollowAdd : MessageType(12) + object GuildDiscoveryDisqualified : MessageType(14) @Suppress("SpellCheckingInspection") - GuildDiscoveryRequalified(15), - Reply(19); + object GuildDiscoveryRequalified : MessageType(15) + object GuildDiscoveryGracePeriodInitialWarning : MessageType(16) + object GuildDiscoveryGracePeriodFinalWarning : MessageType(17) + object ThreadCreated : MessageType(18) + object Reply : MessageType(19) + object ApplicationCommand : MessageType(20) + object ThreadStarterMessage : MessageType(21) + object GuildInviteReminder : MessageType(22) - companion object MessageTypeSerializer : KSerializer { + internal object MessageTypeSerializer : KSerializer { override val descriptor: SerialDescriptor get() = PrimitiveSerialDescriptor("type", PrimitiveKind.INT) override fun deserialize(decoder: Decoder): MessageType { val code = decoder.decodeInt() - return values().firstOrNull { it.code == code } ?: Unknown + return values.firstOrNull { it.code == code } ?: Unknown(code) } override fun serialize(encoder: Encoder, value: MessageType) { encoder.encodeInt(value.code) } } + + companion object { + val values: Set + get() = setOf( + Default, + RecipientAdd, + RecipientRemove, + Call, + ChannelNameChange, + ChannelIconChange, + ChannelPinnedMessage, + GuildMemberJoin, + UserPremiumGuildSubscription, + UserPremiumGuildSubscriptionTierOne, + UserPremiumGuildSubscriptionTwo, + UserPremiumGuildSubscriptionThree, + ChannelFollowAdd, + GuildDiscoveryDisqualified, + GuildDiscoveryRequalified, + Reply, + GuildDiscoveryGracePeriodInitialWarning, + GuildDiscoveryGracePeriodFinalWarning, + ThreadCreated, + ApplicationCommand, + ThreadStarterMessage, + GuildInviteReminder, + + ) + } } @Serializable(with = AllowedMentionType.Serializer::class) @@ -789,3 +836,12 @@ data class AllowedMentions( @SerialName("replied_user") val repliedUser: OptionalBoolean = OptionalBoolean.Missing ) + +@KordPreview +@Serializable +data class DiscordMessageInteraction( + val id: Snowflake, + val type: InteractionType, + val name: String, + val user: DiscordUser +) diff --git a/common/src/main/kotlin/entity/DiscordStageInstance.kt b/common/src/main/kotlin/entity/DiscordStageInstance.kt new file mode 100644 index 00000000000..826eb9a4f79 --- /dev/null +++ b/common/src/main/kotlin/entity/DiscordStageInstance.kt @@ -0,0 +1,23 @@ +package dev.kord.common.entity + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + + +/** + * A _Stage Instance_ holds information about a live stage. + * + * @property id The id of this Stage instance + * @property guildId The guild id of the associated Stage channel + * @property channelId The id of the associated Stage channel + * @property topic The topic of the Stage instance (1-120 characters) + */ +@Serializable +data class DiscordStageInstance( + val id: Snowflake, + @SerialName("guild_id") + val guildId: Snowflake, + @SerialName("channel_id") + val channelId: Snowflake, + val topic: String +) diff --git a/common/src/main/kotlin/entity/Interactions.kt b/common/src/main/kotlin/entity/Interactions.kt index 80f4130d371..571e4c11e09 100644 --- a/common/src/main/kotlin/entity/Interactions.kt +++ b/common/src/main/kotlin/entity/Interactions.kt @@ -5,10 +5,8 @@ import dev.kord.common.annotation.KordPreview import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalBoolean import dev.kord.common.entity.optional.OptionalSnowflake -import kotlinx.serialization.KSerializer -import kotlinx.serialization.SerialName -import kotlinx.serialization.Serializable -import kotlinx.serialization.SerializationException +import kotlinx.serialization.* +import kotlinx.serialization.builtins.ListSerializer import kotlinx.serialization.builtins.serializer import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* @@ -73,6 +71,7 @@ sealed class ApplicationCommandOptionType(val type: Int) { object User : ApplicationCommandOptionType(6) object Channel : ApplicationCommandOptionType(7) object Role : ApplicationCommandOptionType(8) + object Mentionable : ApplicationCommandOptionType(9) class Unknown(type: Int) : ApplicationCommandOptionType(type) companion object; @@ -157,12 +156,11 @@ data class ResolvedObjects( @Serializable @KordPreview -data class DiscordInteraction( +class DiscordInteraction( val id: Snowflake, @SerialName("application_id") val applicationId: Snowflake, - val type: InteractionType, - val data: DiscordApplicationCommandInteractionData, + val data: InteractionCallbackData, @SerialName("guild_id") val guildId: OptionalSnowflake = OptionalSnowflake.Missing, @SerialName("channel_id") @@ -171,18 +169,59 @@ data class DiscordInteraction( val user: Optional = Optional.Missing(), val token: String, val version: Int, -) + @Serializable(with = MaybeMessageSerializer::class) + val message: Optional = Optional.Missing(), + val type: InteractionType +) { + + /** + * Serializer that handles incomplete messages in [DiscordInteraction.message]. Discards + * any incomplete messages as missing optionals. + */ + private object MaybeMessageSerializer : + KSerializer> by Optional.serializer(DiscordMessage.serializer()) { + + override fun deserialize(decoder: Decoder): Optional { + decoder as JsonDecoder + + val element = decoder.decodeJsonElement().jsonObject + + //check if required fields are present, if not, discard the data + return if ( + element["channel_id"] == null || + element["author"] == null + ) { + Optional.Missing() + } else { + decoder.json.decodeFromJsonElement( + Optional.serializer(DiscordMessage.serializer()), element + ) + } + } + + + } +} + @Serializable(InteractionType.Serializer::class) @KordPreview sealed class InteractionType(val type: Int) { object Ping : InteractionType(1) object ApplicationCommand : InteractionType(2) + + /* + * don't trust the docs: + * + * this type exists and is needed for components even though it's not documented + */ + object Component : InteractionType(3) class Unknown(type: Int) : InteractionType(type) override fun toString(): String = when (this) { Ping -> "InteractionType.Ping($type)" ApplicationCommand -> "InteractionType.ApplicationCommand($type)" + Component -> "InteractionType.ComponentInvoke($type)" is Unknown -> "InteractionType.Unknown($type)" } @@ -196,6 +235,7 @@ sealed class InteractionType(val type: Int) { return when (val type = decoder.decodeInt()) { 1 -> Ping 2 -> ApplicationCommand + 3 -> Component else -> Unknown(type) } } @@ -208,18 +248,22 @@ sealed class InteractionType(val type: Int) { } @Serializable -@KordPreview -data class DiscordApplicationCommandInteractionData( - val id: Snowflake, - val name: String, +data class InteractionCallbackData( + val id: OptionalSnowflake = OptionalSnowflake.Missing, + val name: Optional = Optional.Missing(), val resolved: Optional = Optional.Missing(), - val options: Optional> = Optional.Missing() + val options: Optional> = Optional.Missing(), + @SerialName("custom_id") + val customId: Optional = Optional.Missing(), + @SerialName("component_type") + val componentType: Optional = Optional.Missing() ) @Serializable(with = Option.Serializer::class) @KordPreview sealed class Option { abstract val name: String + abstract val type: ApplicationCommandOptionType internal object Serializer : KSerializer