mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Logic :!!
This commit is contained in:
parent
f7c7a6ad9f
commit
f99d8aab3a
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ class Mod(commands.Cog):
|
|||
message: discord.Message
|
||||
if message.author == user:
|
||||
query_ = query.lower() if query else None
|
||||
content_ = str(message.clean_content).lower()
|
||||
if query_ is not None and query_ in content_ or content_ in query_:
|
||||
content_ = str(message.clean_content or '').lower()
|
||||
if query_ is not None and (query_ in content_ or content_ in query_):
|
||||
break
|
||||
else:
|
||||
return await ctx.reply("\N{cross mark} No matches in cache.")
|
||||
|
|
Loading…
Reference in a new issue