editSelfNickname

open suspend fun editSelfNickname(newNickname: String? = null, reason: String? = null): String(source)

Requests to change the nickname of the bot in this guild, passing null will remove it.

Parameters

reason

the reason showing up in the audit log

Throws

if something went wrong during the request.