Sohbet içerisinde anlık olarak kullanılabilen python ile yazılmış Telegram & Discord botu. Veriler sozluk.gov.tr'den çekilmektedir.
Bu python betiği, aynı anda hem Telegram hem de Discord botu çalıştırır. Ayrı ayrı olarak çalıştırmak mümkün değildir (şimdilik).
Sohbet içerisinde doğrudan olarak sözcük anlamına bakmak için Telegram’da @tdksozlukbot [sözcük]
komutunu girin; Discord’ta ise @TDK Sözlük [sözcük]
mesajını iletin.
Not: Sisteminizde python3 kurulu olmalıdır.
TDKSOZLUKBOT_TOKEN
değişken adıyla environment değişkenlerinize ekleyin ya da tdksozlukbot.py
içerisinde yer alan token
değişkenini botunuzun tokeni ile değiştirin.TDKSOZLUKBOT_DISCORD
değişken adıyla environment değişkenlerinize ekleyin ya da tdksozlukbot.py
içerisinde yer alan token_discord
değişkenini botunuzun tokeni ile değiştirin.git clone https://github.com/berkantkz/tdksozlukbot
cd tdksozlukbot
pip install -r requirements.txt
python tdksozlukbot.py
Komutları çalıştırırken bot adını oluşturduğunuz botun adı ile değiştirmeyi unutmayın.
Issues sekmesi, telegram hesabım ya da berkantkz#7475’ten hataları bildirebilirsiniz.
This python script launches both Telegram and Discord bot at the same time. It is not possible to run separately (for now).
Use @tdksozlukbot [word]
command on Telegram and send @TDK Sözlük [word]
message on Discord so as to check the meaning of a word right in the chat.
Note: python3 must be installed on your system.
TDKSOZLUKBOT_TOKEN
to your environment variables or change the token
variable inside of tdksozlukbot.py
with your bot’s token for Telegram.TDKSOZLUKBOT_DISCORD
to your environment variables or change the token_discord
variable inside of tdksozlukbot.py
with your bot’s token for Discord.git clone https://github.com/berkantkz/tdksozlukbot
cd tdksozlukbot
pip install -r requirements.txt
python tdksozlukbot.py
Do not forget to replace the name of the bot with the one you created while using.
Issues can be reported via Issues tab or my telegram account or berkantkz#7475.