Skip to content

Commit 609de00

Browse files
committed
Black formatting to fix workflow error
1 parent 73f2ca6 commit 609de00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cogs/plugins.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ async def load_plugin(self, plugin):
265265
raise InvalidPluginError("Cannot load extension, plugin invalid.") from exc
266266

267267
async def parse_user_input(self, ctx, plugin_name, check_version=False):
268-
269268
if not self.bot.config["enable_plugins"]:
270269
embed = discord.Embed(
271270
description="Plugins are disabled, enable them by setting `ENABLE_PLUGINS=true`",
@@ -305,7 +304,7 @@ async def parse_user_input(self, ctx, plugin_name, check_version=False):
305304
if self.bot.config.get("registry_plugins_only"):
306305
embed = discord.Embed(
307306
description="This plugin is not in the registry. To install this plugin, "
308-
"you must set `REGISTRY_PLUGINS_ONLY=no` or remove this key in your .env file.",
307+
"you must set `REGISTRY_PLUGINS_ONLY=no` or remove this key in your .env file.",
309308
color=self.bot.error_color,
310309
)
311310
await ctx.send(embed=embed)
@@ -388,7 +387,6 @@ async def plugins_add(self, ctx, *, plugin_name: str):
388387
await self.bot.config.update()
389388

390389
if self.bot.config.get("enable_plugins"):
391-
392390
invalidate_caches()
393391

394392
try:

0 commit comments

Comments
 (0)