GGEventManager is a Discord bot that allows users to create event announcements and RSVP for events.
- Create event announcements with a simple slash command.
- RSVP for events by reacting to the event message.
- Automatically updates the event message with the list of attendees.
- Sends a direct message to users when they RSVP or un-RSVP for an event.
-
Clone the repository:
git clone https://github.com/arsh-deeps/GGEventManager.git cd GGEventManager -
Install dependencies:
npm install
-
Create a .env file in the root directory with the following content:
DISCORD_BOT_TOKEN=your-discord-bot-token GUILD_ID=your-guild-id
-
Build the project:
npm run build
-
Start the bot:
npm start
-
Invite the bot to your Discord server.
-
Use the
/createeventslash command to create events. The command format is:/createevent events: EventName1,Timestamp1;EventName2,Timestamp2Example:
/createevent events: Sketchful,1672531199;Gartic,1672617599 -
Users can RSVP for events by reacting to the event message with the corresponding number emoji.
-
Users can un-RSVP by removing their reaction.
-
/creategroupevents: Create multiple events at once.
/creategroupevents group: GroupName events: EventName1,Timestamp1;EventName2,Timestamp2Example:
/creategroupevents group: Gaming events: AmongUs,1672531199;Valorant,1672617599 -
/listevents: List all upcoming events.
/listevents message_id: MessageIDThis command will display all upcoming events in the specified message, with buttons to send reminders for each event separately.
-
/sendreminder: Send a reminder to users who have RSVP'd for an event.
/sendreminder message_id: MessageID event: EventNameExample:
/sendreminder message_id: 1234567890 event: Sketchful
To start the bot in development mode with TypeScript support, run:
npm run dev