Build and tailored to the needs of GCPR VMV VCBM 2020. Those were primarily providing role assignment to speakers and chairs. For more information on the overall conference organization have a look into the guideline document.
A machine running both Java and Gradle. Preferably the latest version of both.
This Bot uses both a Discord API and the GoogleSheet API.
Setup your Bot on the Discord Developer Portal and get your BOT_TOKEN.
Regarding the Google Sheet part.
Follow the official Java Quickstart Guide as the class SheetImport.java
is basically the same file.
And put your Credentials in the credentials.json
.
All Settings are contained in the Settings.java
class. (In hindsight not the smartest way of handling Settings)
Put your Website, Name, Youtube links, etc. in there.
The needed Discord IDs can be found out by running the !ping
command in one of the channels.
It puts a lot of information to the command line. Including the needed IDs.
For the Google Sheet section. Make sure your Sheet Id is in there and the Sheet layout is like:
ID | Password | First Name | Last Name | ... |
---|---|---|---|---|
42 | PW | Bobby | Tables | ... |
export BOT_TOKEN=<Token>
gradle run
Build a Jar using gradle shadowJar
export BOT_TOKEN=<Token>
java -jar build/libs/ConBot-1.0-SNAPSHOT-all.jar
Upon Joining a Server a Welcome message is sent.
The user can reply with !speaker PW
or !chair PW
depending on the desired role.
Manual assignment through !role @UserX @UserY @RoleA @RoleB