- Install Erlang 28
- Install Elixir 1.19.0
- Run
mix deps.getto install dependencies
- Run
MIX_ENV=test mix testto run all tests
Note that Nostrum is disabled in the test environment, we don't really need to test it and we can abstract code if needed to other modules to not need Nostrum for tests.
- Create your bot and get the BOT_TOKEN
- Copy
dev.sample.exsasdev.exsand configure a BOT_TOKEN variable - Add the bot to a server
- Run
MIX_ENV=dev mix run --no-haltto run the bot