Skip to content

CodeMan is a Discord bot to manage Slippi connect codes for SSBM.

License

Notifications You must be signed in to change notification settings

SlippiCodeMan/CodeManBot

Repository files navigation

GitHub Workflow Status License Discord API Codacy grade GitHub issues

CodeMan discord bot

CodeMan is a Discord bot to manage Slippi connect codes for SSBM.

Installation

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 gradlew script instead (or gradle.bat if you run Windows).

Usage

To use it you have to create a .env file at the root of the project containing those env vars :

  • CODEMAN_DB_URI to a mongodb database access url.
  • CODEMAN_PROD_TOKEN to a discord bot token.
  • CODEMAN_DEV_TOKEN (optional) to a test bot token.
  • CODEMAN_EXEC_MODE to prod or dev

Then you can run it with:

gradle run

Docker

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 sudo before those commands if you get a permission error.

Contributing

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.

License

MIT

About

CodeMan is a Discord bot to manage Slippi connect codes for SSBM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages