diff options
| -rw-r--r-- | bot/cogs/watchchannels/bigbrother.py | 2 | ||||
| -rw-r--r-- | bot/cogs/watchchannels/talentpool.py | 6 | ||||
| -rw-r--r-- | bot/cogs/watchchannels/watchchannel.py | 6 |
3 files changed, 3 insertions, 11 deletions
diff --git a/bot/cogs/watchchannels/bigbrother.py b/bot/cogs/watchchannels/bigbrother.py index 5bf644f38..169c3b206 100644 --- a/bot/cogs/watchchannels/bigbrother.py +++ b/bot/cogs/watchchannels/bigbrother.py @@ -2,7 +2,7 @@ import logging from collections import ChainMap from typing import Union -from discord import Color, Embed, User +from discord import User from discord.ext.commands import Context, group from bot.constants import Channels, Roles, Webhooks diff --git a/bot/cogs/watchchannels/talentpool.py b/bot/cogs/watchchannels/talentpool.py index b1be6b9d9..6abf7405b 100644 --- a/bot/cogs/watchchannels/talentpool.py +++ b/bot/cogs/watchchannels/talentpool.py @@ -87,11 +87,7 @@ class TalentPool(WatchChannel): response_data = await resp.json() if resp.status == 400 and response_data.get('user', False): - e = Embed( - description=":x: The specified user can't be found in the database tables", - color=Color.red() - ) - await ctx.send(embed=e) + await ctx.send(":x: The specified user can't be found in the database tables") return else: resp.raise_for_status() diff --git a/bot/cogs/watchchannels/watchchannel.py b/bot/cogs/watchchannels/watchchannel.py index c2d3d0bec..b300bb658 100644 --- a/bot/cogs/watchchannels/watchchannel.py +++ b/bot/cogs/watchchannels/watchchannel.py @@ -298,11 +298,7 @@ class WatchChannel(ABC): """ if update_cache: if not await self.fetch_user_cache(): - e = Embed( - description=f":x: **Failed to update {self.__class__.__name__} user cache, serving from cache**", - color=Color.red() - ) - await ctx.send(embed=e) + await ctx.send(f":x: Failed to update {self.__class__.__name__} user cache, serving from cache") update_cache = False lines = [] |