ban
inline suspend fun GuildBehavior.ban(userId: Snowflake, builder: BanCreateBuilder.() -> Unit)(source)
Requests to ban the given userId in this guild.
Throws
if something went wrong during the request.
Requests to ban this member.
Throws
if something went wrong during the request.