mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Don't store finished views/modals
This commit is contained in:
@ -1552,7 +1552,7 @@ class Messageable:
|
||||
data = await state.http.send_message(channel.id, params=params)
|
||||
|
||||
ret = state.create_message(channel=channel, data=data)
|
||||
if view:
|
||||
if view and not view.is_finished():
|
||||
state.store_view(view, ret.id)
|
||||
|
||||
if delete_after is not None:
|
||||
|
Reference in New Issue
Block a user