Skip to content

Commit d3806c9

Browse files
authored
Update cmds.py
1 parent 5241752 commit d3806c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

teapot/cogs/cmds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def help(self, ctx, *cog):
3636
if x == y:
3737
embed = discord.Embed(color=0x7400FF)
3838
cog_info = ''
39-
for c in bot.get_cog(y).get_commands():
39+
for c in self.bot.get_cog(y).get_commands():
4040
if not c.hidden:
4141
cog_info += f"**{c.name}** - {c.help}\n"
4242
embed.add_field(name=f"{cog[0]} Module", value=cog_info)

0 commit comments

Comments
 (0)