Skip to content

Thread archived error on interaction callback #5517

@ZeldaFan0225

Description

@ZeldaFan0225

Description

Sometimes when my bot sends a callback it gets a [Thread is archived] error, this happens when you follow the steps below to reproduce this.
It is very annoying since I can't even display that error to the user because well... I can't send a callback
(see screenshots below)

Steps to Reproduce

Be a member of a server
Do not have permissions to unlock a thread after it has been locked by a moderator
Use any command in the locked and archived thread
(inside the app you need to send an interaction callback)

Expected Behavior

In my opinion:
The user should see an error that this thread is locked and the app should not get the event for this interaction

Current Behavior

The sent command displays "sending command" indefinitely (until you reload the client)
The bot can not reply to this interaction and the user will never see an error

Screenshots/Videos

image
sending_command

Client and System Information

Bots API v10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsyncedSynced to internal tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions