SunnyCord/bot

`on_timeout` in views can fail due to lack of permissions / threads closing

Closed this issue · 0 comments

Type

Command failure

Bug description

HTTPException: 400 Bad Request (error code: 50083): Thread is archived
Sentry Event ID 71b7d4269914443e866d69c5c8aded71

Forbidden: 403 Forbidden (error code: 50013): Missing Permissions (lost permissions between view creation and timeout)
Sentry Event ID 46974de4290a4f5c85be5d7b5dea104b

should just ignore base HTTPException

# ui/menus/generic/view.py in on_timeout at line 25
        with suppress(NotFound):
            await self.message.edit(view=self)

Screenshots or videos

No response

Server ID