0.1.7 â€ĸ Published 18 days ago

cordbuilder v0.1.7

Weekly downloads
-
License
ISC
Repository
-
Last release
18 days ago

đŸ“Ļ cordbuilder

Cord Builder is a library that provides a Domain Specific Language (DSL) for creating builders for Discord.js. Currently, it supports the creation of buttons.

Note: For syntax highlighting and code snippets, you can use the CordBuilder extension. It's available on the Visual Studio Code Marketplace

🚀 Installation

To install the library, you can use npm or yarn:

npm install cordbuilder
yarn add cordbuilder

ℹī¸ Usage

✅ Button

The source should follow this format:

  • @label?: string
  • @style: Primary | Secondary | Success | Danger | Link
  • @id?: string
  • @emoji?: string
  • @disabled?: true | false
  • @url?: url

✅ Embed

Author

  • @author [
    • :name string,
    • :url url,
    • :icon url
  • ]

Fields

  • @field [
    • :name string,
    • :value string,
    • :inline? true| false
  • ]

Footer

  • @footer [
    • :text string,
    • :icon url
  • ]

Others

  • @title: string
  • @thumbnail: url
  • @image: url
  • @color: color | hex | random
  • @description: string

đŸĒ Contributing

We encourage contributions! Feel free to open an issue or submit a pull request.

📜 License

This project is licensed under the MIT License.

0.1.7

18 days ago

0.1.6

18 days ago

0.1.5

2 months ago

0.1.0

2 months ago

0.1.2

2 months ago

0.1.1

2 months ago

0.1.4

2 months ago

0.1.3

2 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

7 months ago

0.0.1

7 months ago