moralcode / cg-discord-event-sync Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
currently the campusgroups domain is hardcoded to RIT's domain in campusgroups.py
. It might be nice to be able to change this later in case other schools want to use this too.
packaging the bot as a dockerfile makes it way easier to host. This ensures people using the oauth link in the readme can run a usable bot instance
an example of a similar, already-dockerized discord bot is at https://github.com/MoralCode/velmabot, so it should be pretty simple to tweak and apply that to this bot
having to manually run the $sync
command may be a bit of a hassle. it would be nice to set this up so that it can resync the events for all servers on a schedule
see https://github.com/MoralCode/velmabot/ for an example of how to schedule things in a dyscord.py bot (there may be better ways though)
some sub tasks this may involve:
Guild
instance using only the guild/server ID as the sync command currently uses the server that the sync message was posted tocurrently there are no checks and any server members can mess with the subscription list
Currently this just works by using the publicly-available ical feeds from campusgroups, which notably do not include:
I would like to find a way to create some kind of separate set of credentials for this campusgroups bot so that it can authenticate rather than using the session cookies from my own account.
It should probably be noted that providing this bot with authenticated access may end up being a source through which private information could be leaked since may clubs aren't especially protective over who can join their discord or where invite links get shared, so these servers should probably be considered public, even if the chances of them being seen/found by non-students is quite low.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.