Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bot/cogs/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ def _get_query(self, query: str) -> Union[Command, Cog]:
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)
Expand Down
4 changes: 2 additions & 2 deletions bot/cogs/watchchannels/watchchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ async def start_watchchannel(self) -> None:
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:
Expand Down