aboutsummaryrefslogtreecommitdiff
path: root/discord/shard.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-31 23:08:05 -0400
committerRapptz <[email protected]>2021-07-31 23:08:05 -0400
commite795d341e7315483fd30053ba96f69a8c72d4343 (patch)
treebef752151770ee495fedbf3e927bea5fc61f7bfc /discord/shard.py
parentFix typo in TextChannel.start_thread (diff)
downloaddiscord.py-e795d341e7315483fd30053ba96f69a8c72d4343.tar.xz
discord.py-e795d341e7315483fd30053ba96f69a8c72d4343.zip
Change View dispatch mechanism to be keyed by message_id as well
If different persistent view instances are used within different message_ids their callbacks will get called without differentiating between them, leading to potential issues such as 404 errors. This change makes it so N views with custom IDs bound to N message_ids will no longer conflict with one another.
Diffstat (limited to 'discord/shard.py')
0 files changed, 0 insertions, 0 deletions