From 4dec1a30b495b4980d91743b877fb3744020ab01 Mon Sep 17 00:00:00 2001 From: MrPowerGamerBR <9496359+MrPowerGamerBR@users.noreply.github.com> Date: Sat, 7 Aug 2021 03:47:58 -0300 Subject: [PATCH] Fix Number Interaction Option serialization/deserialization (#360) Currently you aren't able to use the "number" option because it always fails to deserialize, this fixes the issue. --- common/src/main/kotlin/entity/Interactions.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/kotlin/entity/Interactions.kt b/common/src/main/kotlin/entity/Interactions.kt index 3f96b7ff5ec8..57fd9cf8d5ef 100644 --- a/common/src/main/kotlin/entity/Interactions.kt +++ b/common/src/main/kotlin/entity/Interactions.kt @@ -329,6 +329,7 @@ sealed class Option { ApplicationCommandOptionType.Boolean, ApplicationCommandOptionType.Channel, ApplicationCommandOptionType.Integer, + ApplicationCommandOptionType.Number, ApplicationCommandOptionType.Mentionable, ApplicationCommandOptionType.Role, ApplicationCommandOptionType.String,