diff options
| author | Rapptz <[email protected]> | 2015-12-16 00:14:58 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-12-16 00:14:58 -0500 |
| commit | 7d08a07cb99ee9e6aca5202f43eefc91dbb20dde (patch) | |
| tree | e9ab8bbc1c23d19d2399ba7dc6f464e91e95b39b /docs | |
| parent | Fix NameError with itertools in client. (diff) | |
| download | discord.py-7d08a07cb99ee9e6aca5202f43eefc91dbb20dde.tar.xz discord.py-7d08a07cb99ee9e6aca5202f43eefc91dbb20dde.zip | |
Fix issue with roles being passed in being strings.
Client.add_roles and Client.remove_roles would dispatch to the
Client.replace_roles function. However, replace_roles expects Role
objects while the dispatching involved string IDs. So as a result this
needed another layer of dispatch into a _replace_roles function to do
the actual call that all three of them dispatch to.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions