This commit is contained in:
yasirarism 2023-06-16 16:00:54 +00:00 committed by GitHub
parent 27433f3e4f
commit ed797a93a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ async def adminlist(_, message):
if message.chat.type == enums.ChatType.PRIVATE:
return await message.reply("Perintah ini hanya untuk grup")
try:
msg = await m.reply_msg(f"Getting admin list in {message.chat.title}..")
msg = await message.reply_msg(f"Getting admin list in {message.chat.title}..")
administrators = []
async for m in app.get_chat_members(message.chat.id, filter=enums.ChatMembersFilter.ADMINISTRATORS):
uname = f"@{m.user.username}" if m.user.username else ""