Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yakuroot committed Mar 6, 2024
1 parent 8689105 commit 2b80488
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions discord/interaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,8 @@ func optionKindSwitch(kind reflect.Kind, typ CommandOptionType) (expectType Comm
return StringOptionType
case reflect.Bool:
return BooleanOptionType
default:
}
return
return typ
}

// Unmarshal unmarshals the options into the struct pointer v. Each struct field
Expand Down

0 comments on commit 2b80488

Please sign in to comment.