Skip to content

Logic in Source Command's Help Command Check #1519

@onerandomusername

Description

@onerandomusername

Description

Its impossible to get the source for the HelpChannel cog.

Steps to Reproduce

!src HelpChannel
Due to the logic of the command, all that needs to be said is !src help followed by anything.

Expected Behaviour

Source link to the HelpChannel cog is shown.

Actual Behaviour

Help command source link is shown.

Known Impacted Platforms

  • Web
  • Desktop
  • Android App
  • iOS App

Possible Solutions

These lines are the probable cause.

if argument.lower().startswith("help"):
return ctx.bot.help_command

After looking at sir-lancebot, it might even be possible to remove these two lines altogether.

Would you like to implement a fix?

Note: For high-priority or critical bugs, fixes may be implemented by staff.

  • I'd like to implement the bug fix
  • Anyone can implement the bug fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: informationRelated to information commands: (doc, help, information, reddit, site, tags)t: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions