Embed Builder
Discord Bot to create and send customizable embeds in few seconds.
Let's invite the Bot by clicking on this button:
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 onTrue
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 :
- Clone this repo
- Install dependencies (
npm install
) - Connect to cloudflare in wrangler (
wrangler login
) - Add your bot information :
$ wrangler secret put DISCORD_TOKEN
$ wrangler secret put DISCORD_PUBLIC_KEY
$ wrangler secret put DISCORD_APPLICATION_ID
- 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!