From f7c0053abd165b8f4e2b81584188b1dcb9c3e0c0 Mon Sep 17 00:00:00 2001 From: nulldomain Date: Tue, 3 Oct 2023 10:10:02 +0100 Subject: [PATCH] Black formatting fixes --- lightbulb/commands/slash.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lightbulb/commands/slash.py b/lightbulb/commands/slash.py index 7902bdf2..8e47c92a 100644 --- a/lightbulb/commands/slash.py +++ b/lightbulb/commands/slash.py @@ -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: @@ -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, ) @@ -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: @@ -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: