Update dev.py

This commit is contained in:
yasirarism 2023-06-16 23:07:22 +07:00 committed by GitHub
parent ed797a93a0
commit 7e94d9273c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -255,7 +255,7 @@ async def ban_globally(self: Client, ctx: Message):
await m.edit(f"Banned {user_mention} Globally!")
ban_text = f"""
__**New Global Ban**__
**Origin:** {message.chat.title} [`{message.chat.id}`]
**Origin:** {ctx.chat.title} [`{ctx.chat.id}`]
**Admin:** {from_user.mention}
**Banned User:** {user_mention}
**Banned User ID:** `{user_id}`