def get_bot_mapping(self):
bot = self.context.bot<EOL>mapping = {<EOL>cog: cog.get_commands()<EOL>for cog in bot.cogs.values()<EOL>}<EOL>mapping[None] = [c for c in bot.all_commands.values() if c.cog is None]<EOL>return mapping<EOL>
Retrieves the bot mapping passed to :meth:`send_bot_help`.