|
|
|
@ -285,7 +285,7 @@ async def weather(bot: object, *location: str) -> str:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@client.command(aliases=['qcontains', 'qsearch'])
|
|
|
|
|
async def quote_contains(bot: object, part: str) -> str:
|
|
|
|
|
async def quote_contains(bot: object, *part: str) -> str:
|
|
|
|
|
"""
|
|
|
|
|
Filter quote by part of saved message.
|
|
|
|
|
"""
|
|
|
|
@ -295,6 +295,8 @@ async def quote_contains(bot: object, part: str) -> str:
|
|
|
|
|
return await bot.send("_If you don't tell me the part, how the fuck do you expect me to "\
|
|
|
|
|
f"find it to you!?_\n(The correct syntax is {syntax})")
|
|
|
|
|
|
|
|
|
|
part = ' '.join(part)
|
|
|
|
|
|
|
|
|
|
quotes = get_quote_contains(part)
|
|
|
|
|
|
|
|
|
|
if not quotes:
|
|
|
|
|