MenuDocs / Pyro

A Python Discord Bot
Apache License 2.0
25 stars 6 forks source link

Pyro incorrectly raises on group commands in cogs #55

Closed Skelmis closed 2 years ago

Skelmis commented 2 years ago

This is valid code if its in a cog, pyro thinks it isnt

class c(...):
  @commands.group()
  async def help(self, ctx: commands.Context):
      passs

  @help.command()
  async def ping(self, ctx: commands.Context, command):
    await ctx.send("works")
Skelmis commented 2 years ago

Looks to be closed in #58