diff options
| author | Zeyla Hellyer <[email protected]> | 2017-03-20 22:05:12 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-03-20 22:10:15 -0700 |
| commit | cd914f503c8f0ada7473b5b56e4ad7830370ea45 (patch) | |
| tree | 3f72ca3f878efe2d96a1e64479e6e23dc7c95113 /examples/06_command_framework | |
| parent | Fix deadlock/panic on channel create event for private messages (diff) | |
| download | serenity-cd914f503c8f0ada7473b5b56e4ad7830370ea45.tar.xz serenity-cd914f503c8f0ada7473b5b56e4ad7830370ea45.zip | |
Fix Member methods due to variant joined_at values
Fix an issue where the library would check the Id of the guild that a
member is in by checking the Member's ID and joined_at value with those
of the members of guilds present in the cache.
Performing this check would have the issue of where a joined_at
for a member received over websocket would potentially have a varying
value than that of the same member retrieved over REST.
To fix this, attach the relevant guild's Id to the member on creation,
where the Id is available.
Fixes #68.
Diffstat (limited to 'examples/06_command_framework')
0 files changed, 0 insertions, 0 deletions