diff --git a/sukuinote/plugins/einfo.py b/sukuinote/plugins/einfo.py index 9f102fe..bd0fde0 100644 --- a/sukuinote/plugins/einfo.py +++ b/sukuinote/plugins/einfo.py @@ -54,7 +54,7 @@ DEAI_MODULE_CODES = { @log_errors @public_log_errors async def fedstat(client, message): - entity = message.from_user or entity.sender_chat + entity = message.from_user or message.sender_chat args = message.command command = args.pop(0).lower() if args: