Skip to content

Commit

Permalink
Users: fix chat type name on info
Browse files Browse the repository at this point in the history
Change-Id: Id658f4ab75db7021bc4ebfc0c7833bba2dd3b677
  • Loading branch information
adekmaulana committed Oct 23, 2022
1 parent 4199c5a commit 6886307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anjani/plugins/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ async def _chat_info(
text += f"**ID:** `{chat.id}`\n"
if chat.dc_id:
text += f"**DC ID:** `{chat.dc_id}`\n"
text += f"**Chat Type:** `{chat.type}`\n"
text += f"**Chat Type:** `{chat.type.__dict__['_name_']}`\n"
text += f"**Title:** `{chat.title}`\n"
if chat.username:
text += f"**Chat Username:** @{chat.username}\n"
Expand Down

0 comments on commit 6886307

Please sign in to comment.