From 68863076135ed0b9ee817c66637a500c714eda1d Mon Sep 17 00:00:00 2001 From: adekmaulana Date: Sun, 23 Oct 2022 22:49:33 +0700 Subject: [PATCH] Users: fix chat type name on info Change-Id: Id658f4ab75db7021bc4ebfc0c7833bba2dd3b677 --- anjani/plugins/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anjani/plugins/users.py b/anjani/plugins/users.py index 1fe04b442..4b8ba702c 100644 --- a/anjani/plugins/users.py +++ b/anjani/plugins/users.py @@ -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"