Are you tired of adding Discord events by hand? This project can potentially help you. Write your events as a CSV file and insert them all at once.
- Node.js (v16.11.0 or higher)
- Configure your app bot on Discord Developer Portal
- Add your app bot in your Discord
- Clone the project (or download it)
git clone https://github.com/cgrohan/easy-scheduled-discord-event.git
- Open the folder with your favorite IDE (like vscode) initialize the project and install all dependencies :
npm init -y
npm install discord.js
npm install csv-parser
- Configure the config.json file :
{
"token": "token_bot_from_discord_developers_portal",
"clientId": "application_id_bot_from_developers_portal",
"guildId": "discord_server_id"
}
- Add events in data.csv file :
name,image,description,scheduled_start_time,scheduled_end_time,entity_metadata
event example,images/image-example.jpg,description example,2024-12-11T16:00,2024-12-11T20:00,location example
- Run your app in terminal :
node index.js
- Go in your Discord Server and run the following command :
/event
- The events will be added 5 by 5.
- You can add a maximum of 100.
- To change the type of the guild scheduled event
- If you choose StageInstance or Voice, channel option is required.