Skip to content

Commit

Permalink
Update Group.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Badhacker98 authored Oct 13, 2024
1 parent 393f9db commit b3513f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shizuchat/modules/Group.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def setgrouptitle(_, message):
elif reply:
try:
title = message.reply_to_message.text
admin_check = await app.get_chat_member(chat_id, user_id)
admin_check = await shizuchat.get_chat_member(chat_id, user_id)
if admin_check.privileges.can_change_info:
await message.chat.set_title(title)
await msg.edit(
Expand Down Expand Up @@ -121,7 +121,7 @@ async def setg_discription(_, message):
elif reply:
try:
discription = message.reply_to_message.text
admin_check = await app.get_chat_member(chat_id, user_id)
admin_check = await shizuchat.get_chat_member(chat_id, user_id)
if admin_check.privileges.can_change_info:
await message.chat.set_description(discription)
await msg.edit(
Expand All @@ -136,7 +136,7 @@ async def setg_discription(_, message):
elif len(message.command) > 1:
try:
discription = message.text.split(None, 1)[1]
admin_check = await app.get_chat_member(chat_id, user_id)
admin_check = await shizuchat.get_chat_member(chat_id, user_id)
if admin_check.privileges.can_change_info:
await message.chat.set_description(discription)
await msg.edit(
Expand Down

0 comments on commit b3513f2

Please sign in to comment.