mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
Fix embed requested in DMs (#5635)
* Fix embed requested in DM's * Add documentation * black * Address comments * Unnecessary added line * Use correct channel on context * use correct var name * More review stuff
This commit is contained in:
@@ -713,7 +713,7 @@ class RedHelpFormatter(HelpFormatterABC):
|
||||
yield obj
|
||||
|
||||
async def embed_requested(self, ctx: Context) -> bool:
|
||||
return await ctx.bot.embed_requested(channel=ctx.channel, command=red_help)
|
||||
return await ctx.bot.embed_requested(channel=ctx, command=red_help)
|
||||
|
||||
async def command_not_found(self, ctx, help_for, help_settings: HelpSettings):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user