-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkeys.py
22 lines (18 loc) · 1.12 KB
/
keys.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from aiogram.types import ReplyKeyboardMarkup , InlineKeyboardButton , InlineKeyboardMarkup
person_keyboard = ReplyKeyboardMarkup(resize_keyboard=True, selective=True)
valid_person = {"آیدا احمدزاده":"aida_ahmadzadeh" ,
"حنانه یحیایی":"hanane_yahyai",
"جزوات ترم پیش":"last_semester",
"برکشت":"back"}
for person_name in valid_person.keys() :person_keyboard.insert(person_name)
course_keyboard = ReplyKeyboardMarkup(resize_keyboard=True, selective=True)
valid_course = {"احتمال":"ehtemal" ,
"مباني جبر":"mabani_jabr" ,
"مباني آناليز عددي" : "analiz_adadi",
"مباني نظريه محاسبه":"nazarie_mohasebe" ,
"مباني منطق ونظريه مجموعه ها":"manteq_nazarie_majmoeha" }
for course in valid_course.keys() :course_keyboard.insert(course)
bye_me_coffee = InlineKeyboardMarkup().add(
InlineKeyboardButton(text="برای من قهوه بخر",
url="https://coffeebede.com/amirel1te")
)