Fixed CommandStart

This commit is contained in:
Alex Root Junior 2023-03-11 00:06:06 +02:00
parent 6dc02c0bfa
commit b8b97b9ed9
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

View file

@ -279,8 +279,8 @@ class CommandStart(Command):
await self.validate_mention(bot=bot, command=command)
command = self.validate_command(command)
command = self.validate_deeplink(command=command)
self.do_magic(command=command)
return command
command = self.do_magic(command=command)
return command # noqa: RET504
def validate_deeplink(self, command: CommandObject) -> CommandObject:
if not self.deep_link: