boudicca.events
boudicca.events copied to clipboard
add discord bot that collects discord scheduled events
I would like to (try) to implement this myself
Here is a discord bot written in TypeScript that implements a similar functionality: https://github.com/acm-uic/calsync
- please check how to handle permissions to only need what is really necessary
- please think about how to white/blacklist discord servers
- please think about how to save the whole config (incl. whitelist) in the source (at least for the first step)
- please think about how the whitelisting process could look like and what questions should be answered (contact person, are the events public, are the events legal, are the events in austria, ...)
please keep in contact with me about your solution concepts, i'd love to challenge them with you and support you through the progress
will do!
the one challenge I am currently thinking about is the availability of the discord bot.
usually discord bots run 24/7 to be available but the collector would only be run from time to time, if I understood it correctly.
another option would be to see if there are apis available that one can use without a discord bot, as in a server Admin generating a sort of API key for their server and the collector can then just query the listed events
well, the process scheduling the eventcollectors is running all the time, only most of the time it is idle. so there would be the possibility to add the discord bot there, but to be honest, that seems like a scheduler unlike others, so it would warrant it's own process/deployable/service
so what you basically want is a deployable that the discord bots talk to and that talks with the boudicca api (and posesses an api key)
I would not like discord bots directly talking with the boudicca api