From a5916bdaabe903b2f64db269f4ef6554041f5890 Mon Sep 17 00:00:00 2001 From: Aron Heinecke Date: Sat, 22 May 2021 18:16:47 +0200 Subject: [PATCH] Add some docs for setup Signed-off-by: Aron Heinecke --- README.md | 9 ++++++++- credentials.example.toml | 12 ++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 credentials.example.toml diff --git a/README.md b/README.md index 91443dc..f37773d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,14 @@ 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 -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. \ No newline at end of file diff --git a/credentials.example.toml b/credentials.example.toml new file mode 100644 index 0000000..eaa4b98 --- /dev/null +++ b/credentials.example.toml @@ -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 \ No newline at end of file