aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/quack.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/fun/quack.py')
-rw-r--r--bot/exts/fun/quack.py6
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.