Table of Contents

Constructor RequirePermissionsAttribute

Namespace
DSharpPlus.Commands.ContextChecks
Assembly
DSharpPlus.Commands.dll

RequirePermissionsAttribute(params DiscordPermission[])

public RequirePermissionsAttribute(params DiscordPermission[] permissions)

Parameters

permissions DiscordPermission[]

RequirePermissionsAttribute(DiscordPermission[], DiscordPermission[])

public RequirePermissionsAttribute(DiscordPermission[] botPermissions, DiscordPermission[] userPermissions)

Parameters

botPermissions DiscordPermission[]
userPermissions DiscordPermission[]