rewrote ts3bot.py