no need
This commit is contained in:
parent
82f5102595
commit
a0587c19d6
@ -7,7 +7,6 @@ from time import time
|
|||||||
from config import (
|
from config import (
|
||||||
ALIVE_IMG,
|
ALIVE_IMG,
|
||||||
ALIVE_NAME,
|
ALIVE_NAME,
|
||||||
BOT_NAME,
|
|
||||||
BOT_USERNAME,
|
BOT_USERNAME,
|
||||||
GROUP_SUPPORT,
|
GROUP_SUPPORT,
|
||||||
OWNER_USERNAME,
|
OWNER_USERNAME,
|
||||||
@ -59,6 +58,7 @@ async def _human_time_duration(seconds):
|
|||||||
)
|
)
|
||||||
async def start_(c: Client, message: Message):
|
async def start_(c: Client, message: Message):
|
||||||
user_id = message.from_user.id
|
user_id = message.from_user.id
|
||||||
|
BOT_NAME = (await c.get_me()).first_name
|
||||||
if await is_gbanned_user(user_id):
|
if await is_gbanned_user(user_id):
|
||||||
await message.reply_text("❗️ **You've blocked from using this bot!**")
|
await message.reply_text("❗️ **You've blocked from using this bot!**")
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user