Custom Commands

Custom commands allow you to create personalized commands that users can trigger with a prefix. You can configure these commands to send either text messages or embeds with buttons.

Basic Configuration

In your config.yml, custom commands are configured under the CustomCommands section. Here are the two key settings:

Enable commands and set the prefix in your config.

config.yml
CommandsEnabled: true
CommandsPrefix: "!"

Examples

MongoDB Setup Command

This command provides users with links and information for setting up MongoDB. It includes rich embeds with detailed descriptions and action buttons for quick navigation.

CustomCommands (mongo)
CustomCommands:
  mongo:
    type: "EMBED"
    Embed:
      Title: "πŸ“Š MongoDB Setup Guide"
      Description:
        - "To get started with MongoDB, follow the detailed guide provided below. This guide will assist you in setting up MongoDB efficiently and correctly."
        - ""
        - "Need further assistance? Don't hesitate to open a support ticket."
      Footer:
        Text: "Aegis Development | MongoDB Setup"
        Icon: "https://i.imgur.com/SPsigbH.png"
      Color: "#1769FF"
    Roles:
      Whitelist: ["1272331356445347840", "1196187304008622101"]
    Options:
      DeleteTriggerMessage: false
      ReplyToUser: false
    Buttons:
      - Type: "LINK"
        Name: "MongoDB Setup"
        Emoji: "πŸ“‘"
        Link: "https://docs.aegisdev.one/misc/mongodb-setup"
      - Type: "LINK"
        Name: "Wiki"
        Emoji: "πŸ“•"
        Link: "https://docs.aegisdev.one/"

Welcome Command

A welcoming command that dynamically greets new users, provides a quick start guide, and includes interactive buttons for further exploration.

Additional Notes

  • Available Placeholders:

View placeholders

Last updated