aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4b4119f95b40e081344d0c812b3367bead70a2c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# thulani

Discord bot that stores / posts random memes and plays audio in voice chat.

[Formerly written in Rust](https://pub.npry.dev/thulani). <!-- TODO: update branch !-->

## Installation

```elixir
def deps do
  [
    {:thulani, "~> 0.1"}
  ]
end
```

## Configuration

```elixir
config :thulani,
  prefix: "!thulani "

# optional: retrieved from DATABASE_URL env var if not configured
config :thulani, Thulani.Repo, "psql:///user:pass@dbhost/db"

# optional: retrieved from DISCORD_TOKEN env var if not configured
config :nostrum, token: "my_discord_token"
```