Skip to content

Commit

Permalink
Fix Number Interaction Option serialization/deserialization (#360)
Browse files Browse the repository at this point in the history
Currently you aren't able to use the "number" option because it always fails to deserialize, this fixes the issue.
  • Loading branch information
MrPowerGamerBR authored Aug 7, 2021
1 parent fca433d commit 4dec1a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/src/main/kotlin/entity/Interactions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ sealed class Option {
ApplicationCommandOptionType.Boolean,
ApplicationCommandOptionType.Channel,
ApplicationCommandOptionType.Integer,
ApplicationCommandOptionType.Number,
ApplicationCommandOptionType.Mentionable,
ApplicationCommandOptionType.Role,
ApplicationCommandOptionType.String,
Expand Down

0 comments on commit 4dec1a3

Please sign in to comment.