Add some docs for setup
Signed-off-by: Aron Heinecke <aron.heinecke@t-online.de>
This commit is contained in:
parent
18d08e14fb
commit
a5916bdaab
2 changed files with 20 additions and 1 deletions
|
@ -2,7 +2,14 @@
|
||||||
|
|
||||||
Requires your own discord bot token.
|
Requires your own discord bot token.
|
||||||
|
|
||||||
|
## Building
|
||||||
|
get [rust](https://rust-lang.org) compiler with cargo
|
||||||
|
|
||||||
|
`cargo build --release`
|
||||||
|
.exe/elf is inside target/release/
|
||||||
|
|
||||||
## Starting
|
## Starting
|
||||||
Setup your credentials inside .credentials.toml
|
Setup your credentials inside .credentials.toml by copying credentials.example.toml
|
||||||
|
|
||||||
|
|
||||||
Then join a voice channel, type ~join in a text channel the bot can access.
|
Then join a voice channel, type ~join in a text channel the bot can access.
|
12
credentials.example.toml
Normal file
12
credentials.example.toml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Rename this file to .credentials.toml
|
||||||
|
|
||||||
|
discord_token = "SECRET"
|
||||||
|
teamspeak_server = "IP:PORT" # NO tsdns
|
||||||
|
# identitfy, should change this
|
||||||
|
teamspeak_identity = "MG0DAgeAAgEgAiAIXJBlj1hQbaH0Eq0DuLlCmH8bl+veTAO2+k9EQjEYSgIgNnImcmKo7ls5mExb6skfK2Tw+u54aeDr0OP1ITsC/50CIA8M5nmDBnmDM/gZ//4AAAAAAAAAAAAAAAAAAAAZRzOI"
|
||||||
|
# join channel ID
|
||||||
|
teamspeak_channel = 1
|
||||||
|
# logging stuff
|
||||||
|
verbose = 1
|
||||||
|
# ?!
|
||||||
|
volume = 1.0
|
Loading…
Reference in a new issue