aboutsummaryrefslogtreecommitdiff
path: root/src/ext/framework
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-05-05 17:09:39 -0700
committerZeyla Hellyer <[email protected]>2017-05-05 17:11:31 -0700
commitae352ea3df86eb2d853d5b1af048a95409aafc38 (patch)
treeb5701ee38a917c2483b09628d0e2ccf981bc1058 /src/ext/framework
parentAdd framework dynamic_prefix example (diff)
downloadserenity-ae352ea3df86eb2d853d5b1af048a95409aafc38.tar.xz
serenity-ae352ea3df86eb2d853d5b1af048a95409aafc38.zip
Fix guild leaving result
When leaving a guild, `rest::leave_guild` would attempt to deserialize a JSON body containing a partial amount of guild info, resulting in an error: ``` Could not leave guild: Json(ErrorImpl { code: EofWhileParsingValue, line: 1, column: 0 }) ``` Although the bot would still actually leave the guild, it would always return this error. To fix this, don't try to deserialize anything and only check for a 204 instead.
Diffstat (limited to 'src/ext/framework')
0 files changed, 0 insertions, 0 deletions