diff options
author | 2019-09-19 08:37:23 -0700 | |
---|---|---|
committer | 2019-09-19 08:37:23 -0700 | |
commit | d43c9c0d309126f0ea391a36b95fb264f1c69aa2 (patch) | |
tree | 1a51e4ed938ce3af96f589c258f4f0d6f61ad20d | |
parent | Apply suggestions from code review (diff) |
Update imports for applied code review suggestions
-rw-r--r-- | bot/cogs/modlog.py | 2 | ||||
-rw-r--r-- | bot/cogs/reddit.py | 2 | ||||
-rw-r--r-- | bot/cogs/security.py | 1 | ||||
-rw-r--r-- | bot/cogs/wolfram.py | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/bot/cogs/modlog.py b/bot/cogs/modlog.py index 2eb7b1eab..15c293d92 100644 --- a/bot/cogs/modlog.py +++ b/bot/cogs/modlog.py @@ -11,7 +11,7 @@ from discord import ( RawMessageUpdateEvent, Role, TextChannel, User, VoiceChannel ) from discord.abc import GuildChannel -from discord.ext.commands import Bot, Cog +from discord.ext.commands import Bot, Cog, Context from bot.constants import ( Channels, Colours, Emojis, Event, Guild as GuildConstant, Icons, URLs diff --git a/bot/cogs/reddit.py b/bot/cogs/reddit.py index 7bd11fb1b..63a57c5c6 100644 --- a/bot/cogs/reddit.py +++ b/bot/cogs/reddit.py @@ -3,7 +3,7 @@ import logging import random import textwrap from datetime import datetime, timedelta -from typing import List, Optional +from typing import List from discord import Colour, Embed, Message, TextChannel from discord.ext.commands import Bot, Cog, Context, group diff --git a/bot/cogs/security.py b/bot/cogs/security.py index 7274b8033..4960aa896 100644 --- a/bot/cogs/security.py +++ b/bot/cogs/security.py @@ -1,5 +1,4 @@ import logging -from typing import Optional from discord.ext.commands import Bot, Cog, Context, NoPrivateMessage diff --git a/bot/cogs/wolfram.py b/bot/cogs/wolfram.py index ea9307352..7c218eb8c 100644 --- a/bot/cogs/wolfram.py +++ b/bot/cogs/wolfram.py @@ -1,6 +1,6 @@ import logging from io import BytesIO -from typing import List, Optional, Tuple +from typing import Callable, List, Optional, Tuple from urllib import parse import discord |