Disconnect

Commenti

4 commenti

  • Panicakr

    From what I know, it is not possible to disconnect a user from a voice channel.

    0
    Azioni per commenti Permalink
  • Kowlin

    Panicakr, when you right click on a user in a voice channel as an admin there is an option to disconnect them.

    0
    Azioni per commenti Permalink
  • Panicakr

    Ah my bad. I recommended joining the Discord server for whichever library you're using and ask that question there, they can be a lot more useful when you're stuck.

    0
    Azioni per commenti Permalink
  • Donovan_DMC

    You do a request as if you're changing their voice channel, but set the channel id to null

     

    PATCH https://discordapp.com/api/v7/guilds/:id/members/:id

    Body: { channel_id: null }

     

    url with body

    headers with response (204 no content)

    0
    Azioni per commenti Permalink

Accedi per aggiungere un commento.