aboutsummaryrefslogtreecommitdiff
path: root/discord/partial_emoji.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-08 21:53:26 -0400
committerRapptz <[email protected]>2021-07-08 21:53:26 -0400
commit826ce101fdd4191f366df5ed286a4556ac7411bd (patch)
tree779cbc8e29900f8c4c0f4c44a54e44e6197f7a7a /discord/partial_emoji.py
parentChange CHANNEL_PINS_UPDATE to use guild information from gateway (diff)
downloaddiscord.py-826ce101fdd4191f366df5ed286a4556ac7411bd.tar.xz
discord.py-826ce101fdd4191f366df5ed286a4556ac7411bd.zip
Change WEBHOOK_UPDATE to use guild information from gateway
This changes the lookup from unnecessary O(n) to two amortised O(1) lookups. This event pretty much always has a guild_id so the original code was always a performance bottleneck.
Diffstat (limited to 'discord/partial_emoji.py')
0 files changed, 0 insertions, 0 deletions