Table of Contents

Constructor RequireAnyPermissionsAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

RequireAnyPermissionsAttribute(params Permissions[])

Defines that usage of this command is restricted to members with any of the specified permissions. This check also verifies that the bot has the same permissions.

public RequireAnyPermissionsAttribute(params Permissions[] permissions)

Parameters

permissions Permissions[]

Permissions required to execute this command.