isOwner

open fun isOwner(userId: Long): Boolean(source)

Deprecated

Prefer using BotOwners#isOwner(UserSnowflake), get the service, or from BContext#botOwners

Whether this user is one of the bot owners.

Return

true if the user is an owner

Parameters

userId

ID of the user