aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/help.py4
-rw-r--r--bot/cogs/watchchannels/watchchannel.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/bot/cogs/help.py b/bot/cogs/help.py
index 4971cd0bb..37d12b2d5 100644
--- a/bot/cogs/help.py
+++ b/bot/cogs/help.py
@@ -110,9 +110,9 @@ class HelpSession:
cog = self._bot.cogs.get(query)
if cog:
return Cog(
- name=cog.__class__.__name__,
+ name=cog.qualified_name,
description=inspect.getdoc(cog),
- commands=[c for c in self._bot.commands if c.instance is cog]
+ commands=[c for c in self._bot.commands if c.cog is cog]
)
self._handle_not_found(query)
diff --git a/bot/cogs/watchchannels/watchchannel.py b/bot/cogs/watchchannels/watchchannel.py
index 122e3dfe8..ce8014d69 100644
--- a/bot/cogs/watchchannels/watchchannel.py
+++ b/bot/cogs/watchchannels/watchchannel.py
@@ -148,8 +148,8 @@ class WatchChannel(metaclass=CogABCMeta):
title=f"Warning: Failed to retrieve user cache for the {self.__class__.__name__} watch channel",
text="Could not retrieve the list of watched users from the API and messages will not be relayed.",
ping_everyone=True,
- icon=Icons.token_removed,
- color=Color.red()
+ icon_url=Icons.token_removed,
+ colour=Color.red()
)
async def fetch_user_cache(self) -> bool: