getdrunkonmovies-com / TS3AudioBot_docker

MIT License
28 stars 9 forks source link

Get API Token #1

Closed adrijanb closed 4 years ago

adrijanb commented 4 years ago

Hey,

I was wondering how I can start the default bot (botid = 0) to connect to my teamspeak. For some reason it does not work.

s4ke commented 4 years ago

Hey,

Configuration of the audio bot is done via mounting a volume to /data just like without the docker image.

s4ke commented 4 years ago

Here is an example bot.toml:

#Starts the instance when the TS3AudioBot is launched.
run = true

[bot]

[commands]

[commands.alias]
default = "!play <url>"
yt = "!search from youtube (!param 0)"

[connect]
#The server password. Leave empty for none.
server_password = { pw = "" }
#The default channel password. Leave empty for none.
channel_password = {  }
#Overrides the displayed version for the ts3 client. Leave empty for default.
client_version = {  }
#The address, ip or nickname (and port; default: 9987) of the TeamSpeak3 server
address = "Teamspeak Server IP"
#Client nickname when connecting.
name = "Bot Name 3000"
#Default channel when connecting. Use a channel path or "/<id>".
#Examples: "Home/Lobby", "/5", "Home/Afk \\/ Not Here".
channel = "<starting channel name>"

[connect.identity]
#||| DO NOT MAKE THIS KEY PUBLIC ||| The client identity. You can import a teamspeak3 identity here too.
key = "<teamspeak 3 identity>"
#The client identity offset determining the security level.
offset = 28

[reconnect]

[audio]
#When a new song starts the volume will be trimmed to between min and max.
#When the current volume already is between min and max nothing will happen.
#To completely or partially disable this feature, set min to 0 and/or max to 100.
volume = {  }

[playlists]

[history]

[events]
s4ke commented 4 years ago

I believe it should be possible to start off with an empty key, but I don't 100% remember how I did it to begin with.

Also, you will have to change some settings in your permissions on the TS3 Server for everything to work properly. But that is all the same as with regular TS3AudioBot installations.

adrijanb commented 4 years ago

Der normale TS3AudioBot startet ja mit einer "default" Config. Wird die durch den Docker Container nicht erstellt?

s4ke commented 4 years ago

Normally, yes.