mirror of https://github.com/coddrago/Heroku
Fix help for single mod
parent
6fc4c58a3e
commit
00e4861e15
|
@ -428,9 +428,8 @@ class HelpMod(loader.Module):
|
|||
|
||||
async def modhelp(self, message: Message, args: str):
|
||||
exact = True
|
||||
if not (module := self.lookup(args, include_dragon=True)) and (
|
||||
method := self.allmodules.dispatch(args.lower().strip(self.get_prefix()))[1]
|
||||
):
|
||||
if not (module := self.lookup(args, include_dragon=True)):
|
||||
if method := self.allmodules.dispatch(args.lower().strip(self.get_prefix()))[1]:
|
||||
module = method.__self__
|
||||
else:
|
||||
module = self.lookup(
|
||||
|
|
Loading…
Reference in New Issue