Interface ClientPermissionOptions

interface ClientPermissionOptions {
    developers?: string[];
    ownerId?: string;
    permConfig?: ClientPermissionLevel[];
    systemAdministrators?: string[];
}

Properties

developers?: string[]

An array of Discord user ids, will be assigned the second-highest permission level

ownerId?: string

The Discord user id of the bot owner, will be assigned the highest permission level

permConfig?: ClientPermissionLevel[]

Represents an object to configure internal bot permission levels

systemAdministrators?: string[]

Array of user ids that can execute administrative actions like restart and reload