aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/bot.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-03-26 18:43:57 -0400
committerRapptz <[email protected]>2017-03-26 18:43:57 -0400
commitcac84e517bb7c3a41969d37bf5eafc141277c120 (patch)
tree823d433de4cb1103ee77573dd924c64aa2f95bb9 /discord/ext/commands/bot.py
parentRemove unnecessary shielding. (diff)
downloaddiscord.py-cac84e517bb7c3a41969d37bf5eafc141277c120.tar.xz
discord.py-cac84e517bb7c3a41969d37bf5eafc141277c120.zip
Always overwrite Emoji references in the state.
There is potential that when recreating the Emoji list in the GUILD_EMOJIS_UPDATE event would just fetch from cache and the element in cache having an out of date Guild reference. This Guild reference will be kept alive for longer than it should be. By always overwriting the Emoji reference, this problem goes away.
Diffstat (limited to 'discord/ext/commands/bot.py')
0 files changed, 0 insertions, 0 deletions