Leaf
6.0
6.0
  • Welcome
  • Placeholders
    • Standard
    • Custom
  • Commands
    • Overview
    • Basic Types
      • Info
  • Discord
    • Bot
    • Embeded Message
Powered by GitBook
On this page
Edit on GitHub
  1. Commands
  2. Basic Types

Info

Run command, get answer. Super simple.

example_command:
  type: "info"
  name: "example"
  message: "Hi there!"
/example
Hi there!

example_command:
  type: "info"
  name: "example"
  message:
  - "First line"
  - "Second line"
/example
First line
Second line
example_command:
  type: "info"
  name: "example"
  message: "Please specify a page."
  pages:
    "1": "Hi"
    "lines": 
    - "Line 1"
    - "Line 2"
  default: "This page named %page% doesn't exist."
/example
Please specify a page.
/example 1
Hi
/example lines
Line 1
Line 2
/example hi
This page named %page% doesn't exist.

All embed options: Embeded Message

example_command:
  type: "info"
  name: "example"
  message: "Hi there!"
  discord_bot:
    argument_name: "page"
    argument_description: "The page that will be displayed."
    message: "Please specify a page."
    pages:
      "1": "Hi"
      "lines": 
      - "Line 1"
      - "Line 2"
      "embed":
        embeds:
          1:
            title:
              message: "Leaf"
            description:  
              - "**Velocity Proxy Plugin**"
              - "Version `<version>`"
              - "Author `Smudge`"
    default: "This page named %page% doesn't exist."
In Discord -> /example 1
Hi
In Minecraft -> /example
Hi there!

PreviousBasic TypesNextBot

Last updated 3 months ago

More discord command options:

Page cover image
Command Defaults