aboutsummaryrefslogtreecommitdiff
path: root/examples/basic_bot.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-08-27 18:34:40 -0400
committerRapptz <[email protected]>2019-08-27 18:34:40 -0400
commit5c0b127c96347b3ccf1d194b47eb941f33b43dae (patch)
treeea56906a69ca69850f42d5e1e9a236b384ef7d92 /examples/basic_bot.py
parentFix _get_message returning the message cache. (diff)
downloaddiscord.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