Upgrading views manager in messages timeout

This commit is contained in:
Rafael Vargas
2022-08-16 18:19:17 -04:00
parent 2d27a2f080
commit 2794f1a6d0
9 changed files with 48 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ class HandlerButton(Button):
# Clear the last category sended message and add the new one
if message:
await self.__messagesManager.addMessageAndClearPrevious(self.__guildID, self.__category, message)
await self.__messagesManager.addMessageAndClearPrevious(self.__guildID, self.__category, message, response.view)
def set_view(self, view: View):
self.__view = view