Spaces:
Build error
Build error
Commit ·
2018bc2
1
Parent(s): 96e73a6
Update test.py
Browse files
test.py
CHANGED
|
@@ -5,9 +5,8 @@ import json
|
|
| 5 |
|
| 6 |
print('Bot starts working...')
|
| 7 |
|
| 8 |
-
BOT_TOKEN = "
|
| 9 |
ADMIN = 5934725286
|
| 10 |
-
GROUP = 1635762236
|
| 11 |
last_sent_time = None
|
| 12 |
def inline_query(update):
|
| 13 |
AUTHORIZED_USER_IDS = [5934725286, 5377327708, 5817420325, 1918582402, 699882662, 1257545168, 1753264718, 1203220311, 6955248384, 752492336, 1673876488, 650599868, 1732613271, 1180727254, 1309190580, 967340481, 5322473767, 6426386490, 1036831407]
|
|
@@ -218,7 +217,6 @@ def send_audio_access_notification(chat_id, user_id):
|
|
| 218 |
'text': text
|
| 219 |
}
|
| 220 |
response = requests.post(url, data=data)
|
| 221 |
-
requests.post(url, data={'chat_id': GROUP, 'text': "tezroq tanla."})
|
| 222 |
if response.status_code == 200:
|
| 223 |
last_sent_time = now
|
| 224 |
else:
|
|
|
|
| 5 |
|
| 6 |
print('Bot starts working...')
|
| 7 |
|
| 8 |
+
BOT_TOKEN = "6848674712:AAEKnm2nF27Mq3jtIgm4JAZlTl2IAHPhzwA"
|
| 9 |
ADMIN = 5934725286
|
|
|
|
| 10 |
last_sent_time = None
|
| 11 |
def inline_query(update):
|
| 12 |
AUTHORIZED_USER_IDS = [5934725286, 5377327708, 5817420325, 1918582402, 699882662, 1257545168, 1753264718, 1203220311, 6955248384, 752492336, 1673876488, 650599868, 1732613271, 1180727254, 1309190580, 967340481, 5322473767, 6426386490, 1036831407]
|
|
|
|
| 217 |
'text': text
|
| 218 |
}
|
| 219 |
response = requests.post(url, data=data)
|
|
|
|
| 220 |
if response.status_code == 200:
|
| 221 |
last_sent_time = now
|
| 222 |
else:
|