GPL-3.0 License
This is a discord bot that creates discord events from a calendar on CampusGroups.
This project is currently in a "proof of concept" phase, but it should be usable.
Features:
Because this is a proof of concept, it has a couple limitations:
If you know how to (legitimately) get API authentication and/or documentation information for campusgroups, please reach out!
pipenv install
pipenv run python3 ./eventsync.py --createdb
pipenv run python3 ./eventsync.py --importgroups
.env
in the root of this repository and ensure it contains the line DISCORD_TOKEN=
followed by your token valuepipenv run python3 ./eventsync.py
If you just want to use the bot and dont want to have to set everything up, you can use this link to add the bot to your discord server. If you are using your own bot, you will want to use the oauth url you generated as part of the setup process above.
Once the bot is added to the server, send a message to one of your channels using one of the following commands:
$subscribe [club name or id] - subscribe to a campusgroups group by name or ID $unsubscribe [club name or id] - unsubscribe from a campusgroups group by name or ID $list - show your currently active subscriptions $sync - fetch calendar events from your subscriptions and create discord events for them