[Python] Discord py slash command only visible to certain people

Discussão em 'Python' iniciado por Stack, Maio 28, 2025.

  1. Stack

    Stack Membro Participativo

    I've seen a few discord bots that have 'hidden' commands available to only server owners. I have searched the internet on how this but so far it's eluded me.

    I know I can add checks, but this doesn't hide the command from the slash command list.

    [​IMG]

    This is what I would like to do:

    [​IMG]

    Those commands in the second example will not show to anyone without admin privileges.

    Has anyone managed to reproduce this behaviour using the Discord py library?

    Continue reading...

Compartilhe esta Página