diff --git a/modules/cytoid/__init__.py b/modules/cytoid/__init__.py index 33061b912e..511a33a48f 100644 --- a/modules/cytoid/__init__.py +++ b/modules/cytoid/__init__.py @@ -17,7 +17,7 @@ @ctd.handle("profile [] {{cytoid.help.profile}}") async def _(msg: Bot.MessageSession, username: str = None): - if msg.parsed_msg["profile"]: + if username: await cytoid_profile(msg, username)