mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-05 06:26:08 +00:00
diamondburned
108913b701
Because Discord is so incompetent that they can't even handle 1s and 0s in JSON, we can't really predict when they quote a number and when they don't, because as it turns out, the documentation does not cover all cases. This commit adds a JSONUnmarshaler into OverwriteType to always trim the quotes around then parse the number manually. |
||
---|---|---|
.. | ||
auditlog.go | ||
channel.go | ||
discord.go | ||
emoji.go | ||
guild.go | ||
guild_consts.go | ||
invite.go | ||
message.go | ||
message_embed.go | ||
permission.go | ||
snowflake.go | ||
snowflake_test.go | ||
time.go | ||
url.go | ||
user.go | ||
voice.go | ||
webhook.go |