This project contains a simple web interface to create and send embedded messages in discord.
This guide will walk you through setting up a Node.js project and creating a config.json
file to manage your project's configuration.
- Git installed on your machine. You can download it from Git official website.
- Node.js and npm (Node Package Manager) installed on your machine. You can download them from Node.js official website.
- Open a terminal.
- Navigate to the directory where you want to clone the repository.
- Run the following command to clone the repository:
git clone https://github.com/JSON-Lee-ai/discord_js_webapp.git
- Open a terminal.
- Navigate to the directory where you want to create your project.
- Run the following command to create a new Node.js project:
npm init -y
npm install
Add your configuration in JSON format in the root folder. For example:
{
"token" : "your-discord-token",
"channel_id" : "your-channel-id",
}
You can add channel id's according to the channels you want to send embedded messages in.