A bot that you can use to bomb voice channels of your choice.
- Erlang/OTP 22
- Elixir 1.10.2
To run potcu, you'll need a Discord bot token, and for obvious security reasons this repo does not provide one.
After obtaining a token, create a file named local.exs under the config/ folder, and fill in the Nostrum config. Note that this file is not tracked by Git so you can safely keep your token there.
config/local.exs
use Mix.Config
config :nostrum,
token: "...",
num_shards: 1Once you've placed your token, simply run the Phoenix server with the MIX_ENV environment variable set to local
$ MIX_ENV=local mix run --no-localHint: Don't forget to pass the
--no-localoption unless you want Elixir to stop your app immediately
Simply run
$ mix testBy default, mix attempts to start the actual application before running tests, so if you're just running unit tests you might want to skip this step. To do that, pass the --no-start option
$ mix test --no-startMIT
