A bot that sends your events for the day from an ical file
|
|
7 hónapja | |
|---|---|---|
| .gitattributes | 1 éve | |
| .gitignore | 1 éve | |
| LICENSE | 1 éve | |
| README.md | 7 hónapja | |
| day_planning.py | 7 hónapja | |
| main.py | 7 hónapja | |
| requirements.txt | 7 hónapja |
The Ical Discord Bot sends your daily events from an .ics calendar directly to Discord.
Create a ".env" file at the root of the project and add the following:
TOKEN=""
GUILD=""
Create an application on Discord Developer Portal.
Copy the ID of the server where you want to invite the bot.
Create a "data" folder at the root of the project and place your calendar file inside.
Rename your calendar file to "cal.ics".
Create a virtual environment and install the dependencies:
pip install -r requirements.txt
Run the main file.
Add the bot to your server.
That’s it! You can now view your events for today using the "/day(today)" command (by default).