Skip to content

Commit

Permalink
[Info] silly me lol
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Jul 16, 2024
1 parent 609bd3c commit d76d545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion info/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ async def interaction_check(self, interaction: discord.Interaction[Red], /) -> b
return True

async def _get_downloader_info(self) -> Optional[discord.Embed]:
command = commands.Command = self.command
command: commands.Command = self.command
if not (downloader := cast(Optional[Downloader], self.bot.get_cog("downloader"))):
return None
if not (cog := cast(commands.Cog, command.cog)):
Expand Down

0 comments on commit d76d545

Please sign in to comment.