Skip to content

Commit fa572ee

Browse files
committed
Fixed unset registry_plugins_only causing non-registry plugins to fail to install
1 parent b21037c commit fa572ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cogs/plugins.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,10 @@ async def parse_user_input(self, ctx, plugin_name, check_version=False):
302302
plugin = Plugin(user, repo, plugin_name, branch)
303303

304304
else:
305-
if not self.bot.config.get("registry_plugins_only", False):
305+
if self.bot.config.get("registry_plugins_only"):
306306
embed = discord.Embed(
307-
description="This plugin is not in the registry. "
308-
"To install it, you must set `REGISTRY_PLUGINS_ONLY=false` in your .env file or config settings.",
307+
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.",
309309
color=self.bot.error_color,
310310
)
311311
await ctx.send(embed=embed)

0 commit comments

Comments
 (0)