aboutsummaryrefslogtreecommitdiff
path: root/definitions/structs/user.yml
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-17 10:46:58 -0800
committerAustin Hellyer <[email protected]>2016-11-17 10:46:58 -0800
commit953617280ddae82c847c0db65ebfcc92e73b4682 (patch)
treed8d57f9c97dbfbf9153e8ba3f1b7a5b7184844f2 /definitions/structs/user.yml
parentAdd a build decoder for u64s with a default (diff)
downloadserenity-953617280ddae82c847c0db65ebfcc92e73b4682.tar.xz
serenity-953617280ddae82c847c0db65ebfcc92e73b4682.zip
Decode discriminators as strings
While this will use a slightly higher amount of memory, it will be easier for users to use.
Diffstat (limited to 'definitions/structs/user.yml')
-rw-r--r--definitions/structs/user.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/definitions/structs/user.yml b/definitions/structs/user.yml
index c952047..d157ec4 100644
--- a/definitions/structs/user.yml
+++ b/definitions/structs/user.yml
@@ -11,8 +11,7 @@ fields:
default: 'false'
type: bool
- name: discriminator
- custom: parse_discriminator
- type: u16
+ type: string
- name: name
from: username
type: string