addPredefinedOwners

fun addPredefinedOwners(vararg ownerIds: Long): <Error class: unknown class>(source)

Predefined user IDs of the bot owners, allowing bypassing cooldowns, user permission checks, and having hidden commands shown.

If not set, the application owners will be used, with roles "Developer" and above.

Parameters

ownerIds

IDs of the bot owners

See also