diff options
| author | Rapptz <[email protected]> | 2021-07-08 21:53:26 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-07-08 21:53:26 -0400 |
| commit | 826ce101fdd4191f366df5ed286a4556ac7411bd (patch) | |
| tree | 779cbc8e29900f8c4c0f4c44a54e44e6197f7a7a /discord/ext/commands/flags.py | |
| parent | Change CHANNEL_PINS_UPDATE to use guild information from gateway (diff) | |
| download | discord.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/ext/commands/flags.py')
0 files changed, 0 insertions, 0 deletions