Fix fantom message with exception when trying to raise MessageNotModified

pull/1/head
Hikari 2022-04-16 20:29:41 +00:00
parent fa1ff8527a
commit 5b7a869f26
No known key found for this signature in database
GPG Key ID: 5FA52ACBB2AD964D
1 changed files with 7 additions and 6 deletions

View File

@ -210,6 +210,7 @@ class Utils(InlineUnit):
),
)
except MessageNotModified:
if query:
try:
await query.answer()
except InvalidQueryID: