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 b3513f2 commit 6143987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shizuchat/modules/Group.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def setgrouptitle(_, message):
elif len(message.command) > 1:
try:
title = 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_title(title)
await msg.edit(
Expand Down

0 comments on commit 6143987

Please sign in to comment.