Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devsrijit/clear-discord-bot
https://github.com/devsrijit/clear-discord-bot
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/devsrijit/clear-discord-bot
- Owner: DevSrijit
- Created: 2024-06-10T08:57:48.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T17:36:12.000Z (5 months ago)
- Last Synced: 2024-06-11T11:55:27.456Z (5 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodeDay Kolkata Registration Count Bot
## Motivation
This project automates the process of tracking registration counts for CodeDay Kolkata, a 24 hour long Coding Event organized in Kolkata. It utilizes a Discord bot to notify server members whenever there is a new registration. Additionally, it provides a slash command `/tickets` to retrieve the current registration count on demand.
## Setup
Follow these steps to set up and deploy the CodeDay Registration Count Bot:
```bash
# Clone the Repository
git clone https://github.com/devsrijit/clear-discord-bot.git# Navigate to the Project Directory
cd clear-discord-bot# Install Dependencies
npm install
```### Configure Bot Settings
Update the configuration files to include your Discord bot credentials and other necessary details:
#### `config.json`
```json
{
"clientId": "YOUR_CLIENT_ID",
"guildId": "YOUR_GUILD_ID",
"token": "YOUR_BOT_TOKEN",
"channelId": "YOUR_CHANNEL_ID",
"api_key": "YOUR_CLEAR_API_TOKEN",
"event_id": "YOUR_CODEDAY_EVENT_ID"
}
```### Run the Bot
Start the bot by running the `bot.js` file:
```bash
npm start
```## I hope this helps you keep track of the registrations at your event ! Happy hacking.