Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ def button(update, context):
def command_start(update, context: CallbackContext):
if update.effective_chat.type == "private":

addme = InlineKeyboardButton(text="🧚 Qrupa əlavə edin!", url="https://t.me/wordsazebot?startgroup=a")
sohbet = InlineKeyboardButton(text="💬 Söhbət Qrupumuz", url="https://t.me/grand_villa")
oyun = InlineKeyboardButton(text="👾 Oyun Qrupumuz", url="https://t.me/grand_villa")
admin = InlineKeyboardButton(text="👨🏻‍💻 Sahib", url="https://t.me/aykhan_s")
addme = InlineKeyboardButton(text="🧚 Qrupa əlavə edin!", url="https://t.me/sohbet_akm")
sohbet = InlineKeyboardButton(text="💬 Söhbət Qrupumuz", url="https://t.me/sohbet_akm")
oyun = InlineKeyboardButton(text="👾 Oyun Qrupumuz", url="https://t.me/sohbet_akm")
admin = InlineKeyboardButton(text="👨🏻‍💻 Sahib", url="https://t.me/mondlichtm")

keyboard = [[addme],[sohbet],[oyun],[admin]]
reply_markup = InlineKeyboardMarkup(keyboard)
Expand Down Expand Up @@ -104,9 +104,9 @@ def set_master(update, context):

game.set_master(update.message.from_user.id)

show_word_btn = InlineKeyboardButton("👻Sözə bax", callback_data='show_word')
change_word_btn = InlineKeyboardButton("♻️Sözü dəyiş", callback_data='change_word')

show_word_btn = InlineKeyboardButton("Sözə bax🔍", callback_data='show_word')
change_word_btn = InlineKeyboardButton("Sözü dəyiş📖", callback_data='change_word')
leave_the_word_btn = InlineKeyboardButton("Sözü burax➖", callback_data='leave_the_word')
keyboard = [[show_word_btn], [change_word_btn]]
reply_markup = InlineKeyboardMarkup(keyboard)

Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
TOKEN = "123456789876:Abkkanbsbaks"
TOKEN = "5109819402:AAHXM78y9eFHUX55t_yqD8SEezo27PgrrNg"
with open('words.txt', 'r', encoding='utf-8') as file:
word_list = file.read().splitlines()