Skip to content
Moderation voiceKick

$voiceKick — Kicks a member from a voice channel, returns bool.

Kicks a member from a voice channel, returns bool.

Syntax

$voiceKick[guildID;userID;(reason)]

Parameters

  • guildID (id, required) — The guild to pull member from
  • userID (id, required) — The user to kick
  • reason (text, optional) — The reason to kick this user

Return Value

  • Boolean.

Usage

$voiceKick[guildID;userID;(reason)] → result

Example

$sendMessage[$voiceKick[10;20]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.