User Tools

Site Tools


iab:commands:permissions

iab!permissions

Default permission tier: 1

Aliases: permissions, p

Manages permissions tier lists


Subcommands

Info

Aliases: info, i

Lists the number of users, roles, commands, and flags for each tier.

Examples

iab!permissions info

iab!p i


Discord

Aliases: discord, d

Sends the permissions grid for a specific user

Parameters

User: Optional user pattern representing the user to target. If not specified, the sending user is used instead.

Examples

iab!permissions discord John#1234

iab!p d Jake#2004

iab!p d


Reinitialize

No aliases so as to minimize accidental resets.

Permissions Required: Operator

NOTE: The operator user will no longer be operator after the command executes.

Resets the tier list to its default state

Examples

iab!p reinitialize


Tier

Aliases: tiers, tier, t

Permissions Required: Operator

Modifies or downloads the tier list

Upload

Aliases: upload, u

Permissions Required: Operator

Replaces a tier list with a specified list

Parameters

File: An uploaded file containing the JSON data for the tier list. The command fails if the Guild ID does not match the current guild id.

Examples

iab!permissions tiers upload (attached file)

iab!p t u (attached file)


List

Aliases: list, l

Permissions Required: Operator

Downloads the tier list.

This subcommand simply sends the current tier list as a JSON file.

Examples

iab!permissions tier list

iab!p t l


<Specified Tier Number>

Permissions Required: Operator

Modifies a specified tier.

Parameters

Subject: The subject of the operation. Valid values are [commands, command, c], [users, user, u], or [roles, role, r].

Operation: The operation to perform. Valid values are [add, a, +] or [remove, del, r, -].

Value: The value for the operation. If the subject is a command alias, this value is the command's trigger or alias. If the subject is a user or role, this value is the ID of the user or role.

Examples

iab!permissions tiers 3 commands add spintext

iab!p t 1 u a 5060105010250

iab!permissions tier 5 roles remove 15912590182501

iab!p t 8 command r select

iab/commands/permissions.txt · Last modified: 2021/02/24 05:53 by nuyube