Skip to content

Commit

Permalink
Black formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
null-domain committed Oct 3, 2023
1 parent 6be2d94 commit f7c0053
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lightbulb/commands/slash.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def as_create_kwargs(self) -> t.Dict[str, t.Any]:
"description": self.description,
"options": [o.as_application_command_option() for o in sorted_opts],
"name_localizations": self.name_localizations,
"description_localizations": self.description_localizations
"description_localizations": self.description_localizations,
}

def _validate_attributes(self) -> None:
Expand Down Expand Up @@ -156,7 +156,7 @@ def as_option(self) -> hikari.CommandOption:
is_required=False,
options=[o.as_application_command_option() for o in sorted_opts],
name_localizations=self.name_localizations,
description_localizations=self.description_localizations
description_localizations=self.description_localizations,
)


Expand Down Expand Up @@ -192,7 +192,7 @@ def as_option(self) -> hikari.CommandOption:
is_required=False,
options=[c.as_option() for c in self._subcommands.values()],
name_localizations=self.name_localizations,
description_localizations=self.description_localizations
description_localizations=self.description_localizations,
)

async def invoke(self, context: context_.base.Context, **_: t.Any) -> None:
Expand Down Expand Up @@ -235,7 +235,7 @@ def as_create_kwargs(self) -> t.Dict[str, t.Any]:
"description": self.description,
"options": [c.as_option() for c in self._subcommands.values()],
"name_localizations": self.name_localizations,
"description_localizations": self.description_localizations
"description_localizations": self.description_localizations,
}

def _validate_attributes(self) -> None:
Expand Down

0 comments on commit f7c0053

Please sign in to comment.