kickMember

open override fun kickMember(guildId: Long, userId: Long, reason: String?): CompletableDeferred<NoResult>(source)

Kicks a member from the guild.

Return

A CompletableDeferred that will kick the user.

Parameters

guildId

The id of the guild.

userId

The id of the user.

reason

The reason for the kick.