OrangeCal is a Discord bot designed to manage reminders and notifications within a Discord server.
- Register and deregister commands dynamically
- Handle user interactions with commands and buttons
- Manage reminder notifications using queues
- Node.js
- pnpm
-
Clone the repository:
git clone <repository-url> cd orange-cal
-
Install dependencies:
pnpm install
-
Create a
.env
file and add your configuration:DISCORD_TOKEN=your-discord-token CLIENT_ID=your-client-id REDIS_HOST=your-redis-host REDIS_PORT=your-redis-port
To start the bot in development mode:
pnpm dev
To start the bot in production mode:
pnpm build
pnpm start
To lint the code:
pnpm lint
To format the code:
pnpm prettier
-
Create a new application on the Discord Developer Portal.
-
Add a bot to the application.
-
Copy the bot token and add it to the
.env
file. -
Add the bot to your Discord server using the following URL:
https://discord.com/oauth2/authorize?client_id=<CLIENT_ID>&permissions=1689934340028480&scope=bot%20applications.commands
Replace
<CLIENT_ID>
with your application's client ID.
Feel free to open issues or submit pull requests for any improvements or bug fixes.