hasPermissionToRun

open suspend fun hasPermissionToRun(    discord: Discord,     author: User,     guild: Guild?): Boolean

Whether this command has permission to run with the given event.

Parameters

discord

The event context that will attempt to run the command.