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 shadowjarIf 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 runTo run it inside docker you need to install docker and then:
To create your container:
gradle dockerTo start your container:
gradle dockerRunTo stop your container:
gradle dockerStopUse
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.