Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ from pyrogram.types import Message
|
|
4 |
|
5 |
plugins = dict(root = "plugins")
|
6 |
|
7 |
-
API_ID = int(os.environ.get("API_ID", ))
|
8 |
-
API_HASH = os.environ.get("API_HASH", "")
|
9 |
-
BOT_TOKEN = os.environ.get("BOT_TOKEN", ":
|
10 |
|
11 |
app = Client(name = "sb",
|
12 |
api_id = API_ID,
|
@@ -18,4 +18,4 @@ app = Client(name = "sb",
|
|
18 |
def send_message(client : Client, message : Message):
|
19 |
message.reply_text("Hellow")
|
20 |
|
21 |
-
app.run()
|
|
|
4 |
|
5 |
plugins = dict(root = "plugins")
|
6 |
|
7 |
+
API_ID = int(os.environ.get("API_ID", 28074643))
|
8 |
+
API_HASH = os.environ.get("API_HASH", "2f3d441733660d0e3a65717818c28ea5")
|
9 |
+
BOT_TOKEN = os.environ.get("BOT_TOKEN", "6990801595:AAE79xNVO1D_0SeWZlzYLE57Suwfp9GyKT8")
|
10 |
|
11 |
app = Client(name = "sb",
|
12 |
api_id = API_ID,
|
|
|
18 |
def send_message(client : Client, message : Message):
|
19 |
message.reply_text("Hellow")
|
20 |
|
21 |
+
app.run(host='0.0.0.0',port=7860)
|