Skip to content

Restrict usage and visibility of specific commands to specific channels #2324

@mome0320

Description

@mome0320

Description

Slash command in Channel request restrict specific channel slash command, and It
hidden that command in other channels.

eg. when set slash command at #command channel
It only can use and visible Command list in #command channel

Why This is Needed

Although there are already can set specific guild commands,
But if I want to restrict slash command on some specific channel, it still visible that in slash command list and auto Complete and it can cause inconvenience for the user.

Alternatives Considered

Alternative would be to manually check the channel (id) on execution.
but it is still visible in the Slash command list and auto-completes.

Additional Details

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions