Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 2.67 KB

README.md

File metadata and controls

58 lines (42 loc) · 2.67 KB

Embed Builder



Discord Bot to create and send customizable embeds in few seconds.

Let's invite the Bot by clicking on this button:

Discord

Usage

The bot has 3 simple commands : /embed, /generate-json and /edit-embed:

/embed <title> [description] [color] [url] [footer] [image] [thumbnail] [hide-author] [custom-author]

/generate-json <title> [description] [color] [url] [footer] [image] [thumbnail] [hide-author] [custom-author]

/edit-embed <message-id> <title> [description] [color] [url] [footer] [image] [thumbnail] [hide-author] [custom-author]
  • message-id => ID of the message to be updated (Required to edit)
  • title => Title of the embed (String) (Required)
  • description => Content / Description of the embed (String)
  • color => Hex / Decimal / rgb() Code of the color (String)
  • url => URL opened when clicking on the title (URL)
  • footer => Footer of the embed (Text /// URL)
  • image => Embed Image (URL)
  • thumbnail => Embed Thumbnail (URL)
  • hide-author => By default the author of the interaction is designated as the author of the embed. Set this on True to hide it (Boolean)
  • custom-author => Set another user as embed author (User)

Run Localy

To run the bot localy you need Node.Js and an application on Discord Developer Portal then, follow this steps :

  1. Clone this repo
  2. Install dependencies (npm install)
  3. Connect to cloudflare in wrangler (wrangler login)
  4. Add your bot information :
$ wrangler secret put DISCORD_TOKEN
$ wrangler secret put DISCORD_PUBLIC_KEY
$ wrangler secret put DISCORD_APPLICATION_ID
  1. Run npm run dev

Contributions

All contributions are welcome! Thank you to everyone who will open issues and pull requests to participate in the project. You are free to propose corrections/improvements as well as feature additions in compliance with Discord Guidelines!