is Owner
Deprecated
Prefer using BotOwners#isOwner/contains
Replace with
import net.dv8tion.jda.api.entities.UserSnowflake
Content copied to clipboard
UserSnowflake.fromId(userId) in botOwners
Content copied to clipboard
Tells whether this user is an owner or not.
Return
true
if the user is an owner
Parameters
user Id
ID of the user