removeUser

open suspend fun removeUser(userId: Snowflake)(source)

Removes the user identified by id from the current thread. Requires the thread is not locked. or current bot has Manage Threads permission

See also

Throws

if something went wrong during the request.