GitHub Workflow Status License Discord API Codacy grade GitHub issues
CodeMan is a Discord bot to manage Slippi connect codes for SSBM.
First make sure gradle is installed on your system.
Then you can build it with:
gradle shadowjar
If gradle is too old on your system you can use the
gradlewscript instead (orgradle.batif you run Windows).
To use it you have to create a .env file at the root of the project containing those env vars :
CODEMAN_DB_URIto a mongodb database access url.CODEMAN_PROD_TOKENto a discord bot token.CODEMAN_DEV_TOKEN(optional) to a test bot token.CODEMAN_EXEC_MODEto prod or dev
Then you can run it with:
gradle run
To run it inside docker you need to install docker and then:
To create your container:
gradle docker
To start your container:
gradle dockerRun
To stop your container:
gradle dockerStop
Use
sudobefore those commands if you get a permission error.
We only accept pull requests on the dev branch which has autodeployement on the dev bot.
If your change is huge please open an issue first.