diff options
author | 2023-05-17 12:23:29 +0530 | |
---|---|---|
committer | 2023-05-17 12:23:29 +0530 | |
commit | 7876744fedab9fbb22a160c8950ee22262570270 (patch) | |
tree | f7189b5f3e9c0947d71f86461f151e50092f6e2c /bot/exts/fun/quack.py | |
parent | nit (diff) | |
parent | Bump sentry-sdk from 1.22.2 to 1.23.0 (#1277) (diff) |
Merge branch 'main' into undeprecate-bookmark
Diffstat (limited to 'bot/exts/fun/quack.py')
-rw-r--r-- | bot/exts/fun/quack.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/fun/quack.py b/bot/exts/fun/quack.py index bb0cd731..9bb024fc 100644 --- a/bot/exts/fun/quack.py +++ b/bot/exts/fun/quack.py @@ -1,6 +1,6 @@ import logging import random -from typing import Literal, Optional +from typing import Literal import discord from discord.ext import commands @@ -8,7 +8,7 @@ from discord.ext import commands from bot.bot import Bot from bot.constants import Colours, NEGATIVE_REPLIES -API_URL = 'https://quackstack.pythondiscord.com' +API_URL = "https://quackstack.pythondiscord.com" log = logging.getLogger(__name__) @@ -25,7 +25,7 @@ class Quackstack(commands.Cog): ctx: commands.Context, ducktype: Literal["duck", "manduck"] = "duck", *, - seed: Optional[str] = None + seed: str | None = None ) -> None: """ Use the Quackstack API to generate a random duck. |