aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar TizzySaurus <[email protected]>2021-08-11 17:28:13 +0100
committerGravatar Izan <[email protected]>2021-08-22 19:57:34 +0100
commitbb2c20fd5acf998d440c835345132bdaee34fb64 (patch)
tree65a65755a99b6de57fc58b0a53f7b458dd5407cd
parentUpdate to new converters (diff)
Remove unused imports
-rw-r--r--bot/converters.py1
-rw-r--r--bot/errors.py2
-rw-r--r--bot/exts/fun/duck_pond.py2
-rw-r--r--bot/exts/recruitment/talentpool/_cog.py2
4 files changed, 3 insertions, 4 deletions
diff --git a/bot/converters.py b/bot/converters.py
index 3df613379..1cfbd29b8 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -2,7 +2,6 @@ import logging
import re
import typing as t
from datetime import datetime
-from functools import partial
from ssl import CertificateError
import dateutil.parser
diff --git a/bot/errors.py b/bot/errors.py
index 5785faa44..d472334d4 100644
--- a/bot/errors.py
+++ b/bot/errors.py
@@ -1,4 +1,4 @@
-from typing import Hashable, Union
+from typing import Hashable
from discord import Member, User
diff --git a/bot/exts/fun/duck_pond.py b/bot/exts/fun/duck_pond.py
index a8d927353..7c09e27f5 100644
--- a/bot/exts/fun/duck_pond.py
+++ b/bot/exts/fun/duck_pond.py
@@ -3,7 +3,7 @@ import logging
from typing import Union
import discord
-from discord import Color, Embed, Member, Message, RawReactionActionEvent, TextChannel, User, errors
+from discord import Color, Embed, Message, RawReactionActionEvent, TextChannel, errors
from discord.ext.commands import Cog, Context, command
from bot import constants
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py
index 9b09c4f7b..304bdafba 100644
--- a/bot/exts/recruitment/talentpool/_cog.py
+++ b/bot/exts/recruitment/talentpool/_cog.py
@@ -6,7 +6,7 @@ from typing import Union
import discord
from async_rediscache import RedisCache
-from discord import Color, Embed, Member, PartialMessage, RawReactionActionEvent, User
+from discord import Color, Embed, Member, PartialMessage, RawReactionActionEvent
from discord.ext.commands import Cog, Context, group, has_any_role
from bot.api import ResponseCodeError