masprs0x / teamtalk.py

a simple but powerful pythonic library for making bots for the TeamTalk5 Conferencing System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Teamtalk.py

Documentation Build Status GitHub Releases PyPI Version Python versions License Code style: black PRs Welcome

teamtalk.py is a simple but powerful pythonic library for making bots for the TeamTalk5 Conferencing System

Installing

Python 3.8 or higher is required

From PyPI

pip install teamtalk.py

From source

git clone https://github.com/JessicaTegner/teamtalk.py
cd teamtalk.py
poetry install

Usage

import teamtalk

bot = teamtalk.TeamTalkBot()

@bot.event
async def on_ready():
    test_server = teamtalk.TeamTalkServerInfo("localhost", 10335, 10335, "user", "pass")
    await bot.add_server(test_server)

@bot.event
async def on_message(message):
    if message.content.lower() == "ping":
        message.reply("pong")

bot.run()

Documentation

You can find the full documentation here

Contributing

So you want to contribute to teamtalk.py? Great! There are many ways to contribute to this project, and all contributions are welcome. If you have found a bug, have a feature request or want to help improve documentation please open an issue_ You can also donate to the projects maintainer (JessicaTegner) to help support the development of teamtalk.py:

License

This project is licensed under the MIT License - see the LICENSE file for details

About

a simple but powerful pythonic library for making bots for the TeamTalk5 Conferencing System

License:MIT License


Languages

Language:Python 100.0%