💾
Champion Ultra
DiscordBuiltByBit
  • Tebex Themes Docs
  • Champion Tickets Docs
  • Champion Ptero Docs
  • Welcome
    • Introduction
    • Commands
      • Permissions
    • Features
    • Images
  • Installation & Setup
    • Newbie Guide
    • Requirements
    • Bot Application Setup
    • Linux Installation
    • Invite Link
    • Pterodactyl
    • Database
      • v1.2.8 Migration
      • Change DB Type
      • Mongo Database
      • database-actions addon
  • Configuration
    • config.yml
    • commands.yml
    • applications.yml
    • language.yml
    • embeds.yml
  • Advanced Ticketing
    • Introduction
    • Installation
  • Addons
    • Example Addon
    • Creating Addons
    • Selling Addons
  • Other
    • Basic Server Configuration
    • Dashboard Setup
    • Errors
Powered by GitBook
On this page

Was this helpful?

  1. Welcome
  2. Commands

Permissions

Command can have Discord-Based Permissions, Role-Based Permissions or even both of them. Permissions can be changed by editing Configuration File commands.yml and changing permissions and role fields.

An Example

Here we'll show you an example of playing with Command Permissions.

# Command Name
ping:
  # Ids or Names of Roles which can use this command
  roles: []
  aliases: []
  # Discord Permissions which are required in order to use
  # command
  permissions: []
  description: "Ping Bot"
  usage: "ping"
  ephemeral: false
  cooldown: 0
  enabled: true

On Example we added few comments to help you to figure out what does what, if you want to let everyone use command then set role field to "" and permissions field to [].

To learn more about commands.yml go to Configuration Page.

PreviousCommandsNextFeatures

Last updated 3 years ago

Was this helpful?

commands.yml