Skip to content

jsonlee-se/discord-js-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embed webapp

This project contains a simple web interface to create and send embedded messages in discord.

Project and config.json setup

This guide will walk you through setting up a Node.js project and creating a config.json file to manage your project's configuration.

Prerequisites

Step 1: Clone the repository

  1. Open a terminal.
  2. Navigate to the directory where you want to clone the repository.
  3. Run the following command to clone the repository:
git clone https://github.com/JSON-Lee-ai/discord_js_webapp.git

Step 2: Create a new Node.js project

  1. Open a terminal.
  2. Navigate to the directory where you want to create your project.
  3. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published