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:
parent
4023a58f67
commit
76ec9cd43d
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue