53 lines
2.1 KiB
Python
53 lines
2.1 KiB
Python
from __future__ import annotations
|
|
import os
|
|
from typing import Callable, TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from bot.translator import Translator
|
|
|
|
app_name = "pandorafox♾"
|
|
app_version = "2.3.6"
|
|
client_name = app_name + "-Version" + app_version
|
|
about_text: Callable[[Translator], str] = lambda translator: translator.translate(
|
|
"""\
|
|
A media streaming bot for TeamTalk.
|
|
Authors: Amir Gumerov, Vladislav Kopylov, Beqa Gozalishvili, Kirill Belousov.
|
|
Home page: https://github.com/gumerov-amir/TTMediaBot
|
|
Pandorabox writer: Rexya, Muhammad.
|
|
Extended from pandoraBox (https://www.dropbox.com/scl/fi/w59od6p43v474cdqfllt1/PandoraBox.zip?rlkey=sghktp7rbuxknbz9b3v9lqfii&dl=1)
|
|
Currently maintain by Rafli On Techlabs git
|
|
Visit us on: https://git.techlabs.lol/radiant_code/teamtalkbot
|
|
License: MIT License\
|
|
"""
|
|
)
|
|
start_bottt: Callable[[Translator], str] = lambda translator: translator.translate(
|
|
"""\
|
|
Hello there!
|
|
I'm PandoraFox, your go-to companion for discovering amazing songs and audio through YouTube, Yandex Music (Currently unavailable), and VK.
|
|
Hosted by TechLabsStudio, I'm all set to bring audio magic to your TeamTalk experience.
|
|
To get started, simply send me a private message with a specific command.
|
|
Here's how you can interact with me:
|
|
- help: Receive a handy guide to all the commands you can use, delivered straight to your private message.
|
|
- contacts: Get contact information sent directly to your private message.
|
|
- log: Check out the change log file.
|
|
If you encounter any issues or want to chat with us, feel free to reach out.
|
|
Thank you for choosing our service, and have a fantastic day!\
|
|
"""
|
|
)
|
|
contacts_bot: Callable[[Translator], str] = lambda translator: translator.translate(
|
|
"""\
|
|
If you encounter any issues with this bot, please reach out to our dedicated technicians:
|
|
🦊 Rafli:
|
|
rafli@techlabs.lol
|
|
t.me/rafli_ir
|
|
Join the TTMediaBot Official Group on Telegram: https://t.me/TTMediaBot_chat\
|
|
"""
|
|
)
|
|
fallback_service = "yt"
|
|
loop_timeout = 0.01
|
|
max_message_length = 512
|
|
recents_max_lenth = 64
|
|
tt_event_timeout = 2
|
|
|
|
directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|