Interfaceseedcordv0.14.0
CheckPermissionOptions
Options for checkPermissionscheckPermissions.
See also:PermissionErrorCtors
interface CheckPermissionOptions extends PermissionErrorCtorsinterface CheckPermissionOptions extends PermissionErrorCtors- optional
dangerous
dangerous: new (message: string, target: PermSubject, dangerousPerms: string[]) => Noticedangerous: new (message: string, target: PermSubject, dangerousPerms: string[]) => NoticeInherited from:PermissionErrorCtors
for: Role | GuildMemberfor: Role | GuildMemberin: Guild | TextChannelin: Guild | TextChannel- optional
missing
missing: new (message: string, where: PermSubject, missingPerms: string[]) => Noticemissing: new (message: string, where: PermSubject, missingPerms: string[]) => NoticeInherited from:PermissionErrorCtors
scope: BotPermissionScope;scope: BotPermissionScope;