Skip to the content.

Unbenannt_6 (1)

a simple Matrix Chat Bot

▶️ Setup | GitHub | Documentation | Roadmap | Docker Hub

GitHub release (latest by date) GitHub all releases GitHub Repo stars GitHub top language GitHub last commit GitHub Workflow Status




Unbenannt


teampy - a Python-based chat bot specially created for the Matrix Chat of teamspeak. Although its current capabilities are limited to a set of fundamental commands, it will receive more functionality from time to time. (command overview). The mindset behind the bot is centered around configurability, which is why the configuration file can sometimes feel overwhelming.
You can test the bot yourself, just add teampy@myteamspeak.com to your contacts




Unbenannt_1


Methode 1: docker run
Methode 2: docker-compose
Methode 3: Manuell Installation




Methode 1: docker run

create the local directorys for mounting into the container (logs is optional, but recommended)

mkdir -p /opt/teampy/configs
mkdir -p /opt/teampy/logs
mkdir -p /opt/teampy/plugins

run the container

docker run -d --name teampy --restart on-failure -v /opt/teampy/configs:/opt/teampy/configs -v /opt/teampy/plugins:/opt/teampy/plugins -v /opt/teampy/logs:/opt/teampy/logs wargamersenpai/teampy:latest

now edit the config in the mounted directory

vi /opt/teampy/configs/config.py

enter the matrix username and password (you can get these with https://chat.ts3index.com/)

...
matrix_username = aefaefaefaefaefa354354354354===
matrix_password = JkFpIopKKKtdf55uimne69
...

now you can start the container

docker start teampy




Methode 2: docker-compose

create the local directorys for mounting into the container (logs is optional, but recommended)

mkdir -p /opt/teampy/configs
mkdir -p /opt/teampy/logs
mkdir -p /opt/teampy/plugins

create a docker-compose.yml with following content

version: '3'
services:
  teampy:
    image: wargamersenpai/teampy:latest
    container_name: teampy
    restart: on-failure
    volumes:
      - /opt/teampy/configs:/opt/teampy/configs
      - /opt/teampy/logs:/opt/teampy/logs
      - /opt/teampy/plugins:/opt/teampy/plugins

now you can run docker-compose (in the same directory where the yml file is located)

docker-compose up -d

after that, edit the config in the mounted directory

vi /opt/teampy/configs/config.py

enter the matrix username and password (you can get these with https://chat.ts3index.com/)

...
matrix_username = aefaefaefaefaefa354354354354===
matrix_password = JkFpIopKKKtdf55uimne69
...

now you can start the container

docker start teampy




Methode 3: Manuell Installation

Requirments

Installation

systemctl enable --now teampy.service




Unbenannt_5





Roadmap

(everything is planned to be configureable)

OS Features

Features Status Finished
adding a setup.sh for easier setup on linux planned ⬜️
adding systemd service done
adding a .exe for windows for easier execution planned ⬜️
adding a container image done

General Features

Features Status Finished
adding a default giphy api key done
adding administration features
(start/stop/restart bot via command, with admin whitelist)
done
gather stats how much interaction the bot has partly finished
support external plugins/scripts finished
merge new configs WIP/finished
adding a check for new version of the teamspeak client in Work/partly finished ⬜️
adding the current connected teamspeak server to status planned ⬜️
welcome message for new joined user in rooms planned ⬜️
self health check and (optional auto notify admins) partly finished ⬜️
adding a possibility for administrator to interact with OS or execute certain commands planned ⬜️
change name over command
(as soons teamspeak supports name changes)
currently not Possible ⬜️

Contact

Matrix Chat wargamer@myteamspeak.com or just open an isssue




Unbenannt_3


It is Recommended to use a Second Account or create a new account for the bot,
because using this bot can result in breaking your account (it shouldnt but can happen).