IEEEvents Bot
Made with ❤️ 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
- Config Library
- ical4j/ical4j
- Parsing the iCal file
- DV8FromTheWorld/JDA
- Discord API Wrapper
- Litote/kmongo
- Toolkit for Mongo in Kotlin
- junodevs/kriess
- Command handler with some extra features
- qos-ch/logback
- Logging framework
- square/okhttp
- Downloading iCal file
- ronmamo/reflections
- Querying of classpath metadata at runtime
- Allows for commands and services to be dynamically registered
- Querying of classpath metadata at runtime
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
# 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