Made with :heart: by @apollo
A Discord bot that mirrors events from an iCal file to Discord, and allows users to browse them ## Important Note The bot does not yet clone the events from iCal to Discord, rather it only currently implements a command to view the events. This is a limitation of using JDA 4.x instead of the newest JDA 5.x branch. Once JDA 5.x is stable, the bot will clone the events. ## Built With - [sksamuel/hoplite](https://github.com/sksamuel/hoplite) - Config Library - [ical4j/ical4j](https://github.com/ical4j/ical4j) - Parsing the iCal file - [DV8FromTheWorld/JDA](https://github.com/DV8FromTheWorld/JDA) - Discord API Wrapper - [Litote/kmongo](https://github.com/Litote/kmongo) - Toolkit for Mongo in Kotlin - [junodevs/kriess](https://github.com/junodevs/kriess) - Command handler with some extra features - [qos-ch/logback](https://github.com/qos-ch/logback) - Logging framework - [square/okhttp](https://github.com/square/okhttp) - Downloading iCal file - [ronmamo/reflections](https://github.com/ronmamo/reflections) - Querying of classpath metadata at runtime - Allows for commands and services to be dynamically registered ## Usage ### Build it! I use the Gradle build system, so getting all the dependencies and building the jar should be as easy as: `./gradlew clean shadowJar` ### Run it! On the first run of `$ java -jar build/lib/IEEEventsBot*.jar` it'll automatically copy an example config.yml for you. From there, change the values to be relevant for you. After you have it fully configured, run the bot again with `java -jar build/lib/IEEEventsBot*.jar` and invite the bot to your server! ### All together ```bash # Build the .jar file $ ./gradlew clean shadowJar # Run the bot for the first time (will stop right away) # Will place a new config.yml in your directory - replace with your values $ java -jar build/lib/IEEEventsBot*.jar # Actually run the bot this time $ java -jar build/lib/IEEEventsBot*.jar ``` ## Licensing This project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/) ## Authors * [Brett Bender](https://git.brettb.xyz/apollo/)