No description
- Java 99.6%
- Dockerfile 0.4%
| .github | ||
| src/main/java | ||
| .gitignore | ||
| .java-version | ||
| docker-compose.yml | ||
| Dockerfile | ||
| pom.xml | ||
| README.md | ||
Iron Riders discord bot (JDA)
The Discord bot in the Iron Riders' discord server.
How to execute:
- Clone GitHub in intellij.
- Create a run configuration that runs
org.ironriders.discordbot.Bot.- Paste text below into the
VM optionsin that configuration.
-DBOT_TOKEN=BOT_TOKEN -DTBA_TOKEN=TBA_TOKEN- Replace
BOT_TOKENwith your bot token. - Replace
TBA_TOKENwith your TBA token.
- Paste text below into the
- After running, use the bot invite link from the log to invite the bot to your server.
Note: This bot must have message content intent enabled to function.
How to package:
- Create a maven configuration that runs
package. - Run it, the packaged
.jarwill be attarget/discordbot-VERSION-jar-with-dependencies.jar.
Note: Make sure to pass in your tokens to run command if you plan to run it.
For other FRC teams:
We have made it simple for you to repurpose the code from this bot for your own team's discord bot. Simply:
- Fork this repository.
- Customize the constants class.
- Search for comment
// Team Specificto find any other areas that have team specific code or variables.- You can search for text globally by clicking the
shiftkey twice quickly and pasting in your text, but you must enable the feature first in the settings.
- You can search for text globally by clicking the
- Package the project to a standalone
.jarand run it wherever you like.
How to contribute:
- Create a branch or fork the repository.
- Make your changes.
- Test your changes.
- Change the version in the
pom.xmlfile. - Create a pull request.
Help:
- Ping
@Softwareon the Iron Riders Discord server. - Create an issue on GitHub.
- Email
software@ironriders.org.