addUser

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

Adds 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.