1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-10 08:55:09 +00:00

discord: Fix InteractionOption.String

This commit is contained in:
diamondburned 2021-09-09 21:12:22 -07:00
parent 4023a58f67
commit 76ec9cd43d

View file

@ -108,9 +108,9 @@ func (o InteractionOption) String() string {
val := string(o.Value)
s, err := strconv.Unquote(val)
if err != nil {
return s
return val
}
return val
return s
}
func (o InteractionOption) Int() (int64, error) {