Skip to content

Sinusbot

Musicbot for Discord and Teamspeak.

egg-sinusbot.json

updated

Ports

Add an allocation on the node for each port.

  • Game 8087

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
58 lines

Image

  • sinusbot ghcr.io/ptero-eggs/yolks:bot_sinusbot

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

1 variable

Startup command

./sinusbot --override-password="{{OVERRIDE_PASSWORD}}"
  • Password for admin account.

    OVERRIDE_PASSWORDUsers can edit

    required|string|max:20A value is required.

Wings

Stop command
^C (SIGINT)
Running when the console shows
Initialization complete

Files Wings edits

Wings sets these values in these files before each start.

config.ini file

ListenPort
ListenPort = {{server.build.default.port}}
ListenHost
ListenHost = "0.0.0.0"

Readme

SinusBot

Their Site

Listen to your favorite music together with all of your friends

Welcome the Simple, Elegant & great sounding TS3- and Discord-Bot!

First startup

On first startup wait until this message in the console appears: TSClient quit. Then press restart. Now the SinusBot will fully startup and you can login to the WebUI.

Server Ports

1 port is required to run SinusBot.

Port default
Game 8087

Side notes

This uses a custom image.

Changes

  1. Import chatbots

    · Daniel Barton · f917e8a

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 58 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash
# Sinusbot Installation Script
#
# Server Files: /mnt/server
apt -y update
apt -y --no-install-recommends install ca-certificates bzip2 wget tar curl jq
apt -q clean all

#Create needed directories
mkdir -p /mnt/server/TeamSpeak3-Client-linux_amd64/plugins
mkdir /mnt/server/youtube-dlp

cd /mnt/server

#Download Sinusbot
wget -qO - https://www.sinusbot.com/dl/sinusbot.current.tar.bz2 | tar xj


#Download Latest TeamSpeak Client
#TS_VERSION=$(curl https://teamspeak.com/versions/client.json | jq -r '.linux.x86_64.version')
#TS_DL_LINK=$(curl https://teamspeak.com/versions/client.json | jq -r '.linux.x86_64.mirrors."teamspeak.com"')

# Sinusbot is not yet updated...
TS_VERSION=3.5.6
TS_DL_LINK=https://files.teamspeak-services.com/releases/client/3.5.6/TeamSpeak3-Client-linux_amd64-3.5.6.run

echo -e "downloading teamspeak version ${TS_VERSION}"
echo -e "running 'wget ${TS_DL_LINK}'"

wget ${TS_DL_LINK}

# Install TeamSpeak Client
chmod 0755 TeamSpeak3-Client-linux_amd64*.run
./TeamSpeak3-Client-linux_amd64*.run --tar xfv -C TeamSpeak3-Client-linux_amd64

## Cleaning up 

rm TeamSpeak3-Client-linux_amd64*.run
# Remove glx-integration lib
rm TeamSpeak3-Client-linux_amd64/xcbglintegrations/libqxcb-glx-integration.so

#Install Sinusbot
chmod +x sinusbot
cp config.ini.dist config.ini
sed -i "s|^TS3Path.*|TS3Path = \"/home/container/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64\"|g" config.ini
echo 'YoutubeDLPath = "/home/container/youtube-dlp/youtube-dlp"' >> config.ini

#Install Sinusbot plugin
cp plugin/libsoundbot_plugin.so TeamSpeak3-Client-linux_amd64/plugins

#Download youtube-dlp
cd /mnt/server/youtube-dlp
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O youtube-dlp
chmod a+rx youtube-dlp

echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"