Open Alnyz opened 9 months ago
first : /profile is not detected as command but answer to m.chat.ask second : /profile is the command
if want answer to work, it should do something like if answer == "/profile": await profile(client, message)
@Alnyz lemme put this way
i have 2 commands inside my plugins
@Bot.on_message(filters.text & filters.command(['start', 'register']) & filters.private) async def register(bot: Bot, message: Message):
my logic here
first user will type
/start
and then bot willask
user to type/profile
which is/profile
is command from plugins, but command/profile
didnt get execute after bot asking to the user, but command/profile
work just fine.i dont know why this happend, and cannot figure out to fix this