diff --git a/canary/cogs/quotes.py b/canary/cogs/quotes.py index a459c555..72491dc3 100644 --- a/canary/cogs/quotes.py +++ b/canary/cogs/quotes.py @@ -156,7 +156,7 @@ def check(reaction, user): await ctx.send("`Quote deleted.`", delete_after=60) @commands.command(aliases=["q"]) - async def quotes(self, ctx, str1: str | None = None, *, str2: str | None = None): + async def quotes(self, ctx, str1: Optional[str] = None, *, str2: Optional[str] = None): """ Retrieve a quote with a specified keyword / mention. Can optionally use regex by surrounding the the query with /.../.