detect help request word-wise

This commit is contained in:
Infinidoge 2025-06-13 19:39:34 -04:00
parent 684ba106d4
commit e0ce382d5d
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -208,7 +208,7 @@ async def on_message(message: Message):
if now < timeout:
return
c = message.content.lower()
c = message.content.lower().split(" ")
prefix = await bot.get_guild_prefix(ctx.guild) or "@nomen "
if "help" in c and "nomen" in c: