diff options
| author | Rapptz <[email protected]> | 2019-08-27 18:34:40 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-08-27 18:34:40 -0400 |
| commit | 5c0b127c96347b3ccf1d194b47eb941f33b43dae (patch) | |
| tree | ea56906a69ca69850f42d5e1e9a236b384ef7d92 /examples/basic_bot.py | |
| parent | Fix _get_message returning the message cache. (diff) | |
| download | discord.py-5c0b127c96347b3ccf1d194b47eb941f33b43dae.tar.xz discord.py-5c0b127c96347b3ccf1d194b47eb941f33b43dae.zip | |
Create Permissions and Colour objects when necessary in Role
This should have some memory savings of ~24 bytes per role.
* 8 bytes for Permissions
* 8 bytes for Colour
* 8 bytes for the alias
I'm not sure how significant it is but it should be a decent amount.
Diffstat (limited to 'examples/basic_bot.py')
0 files changed, 0 insertions, 0 deletions