mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Don't store finished views/modals
This commit is contained in:
4 files changed
+9
-6
No files matched your search
+1
-1
@@ -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