Skip to content

Commit

Permalink
fix: quote command
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Sep 7, 2024
1 parent 26b34f7 commit 46aa334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canary/cogs/quotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 /.../.
Expand Down

0 comments on commit 46aa334

Please sign in to comment.