Skip to content

Commit

Permalink
Update env example
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Apr 10, 2024
1 parent e4b60ea commit fdac7b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ GUILD_ID=123456
OWNERS=123456,123456

# Connection URI for your mongodb
CONNECTION_URI=mongod+srv://mongo.net
CONNECTION_URI=mongodb+srv://mongo.net

# The url of logviewer for viewing self-hosted logs
# LOG_URL=https://logviewername.domain.com/
# LOG_URL=https://logviewer.example.com/

# The path to your log viewer extending from your `LOG_URL`, defaults to "/logs"
# LOG_URL_PREFIX=/logs

# Enable presence intent for the bot, defaults to false
# ENABLE_PRESENCE_INTENT=false

# A github personal access token with the repo scope to access private repository
# A github personal access token with the repo scope to access private repository and update the bot automatically
# GITHUB_TOKEN=abcdef

# If set to true, only plugins that are in the registry can be loaded
Expand All @@ -35,7 +35,7 @@ CONNECTION_URI=mongod+srv://mongo.net
# OAUTH2_CLIENT_SECRET=abcdef

# The redirect URL for logviewer OAuth. You must also add this URL in your application's Redirects section
# OAUTH2_REDIRECT_URI=https://logviewername.herokuapp.com/callback
# OAUTH2_REDIRECT_URI=https://logviewer.example.com/callback

# The host address logviewer will bind itself to. Defaults to 0.0.0.0
# HOST=0.0.0.0
Expand Down
4 changes: 2 additions & 2 deletions cogs/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ async def parse_user_input(self, ctx, plugin_name, check_version=False):
if self.bot.config.get("registry_plugins_only"):
embed = discord.Embed(
description="This plugin is not in the registry. To install this plugin, "
"you must set `REGISTRY_PLUGINS_ONLY=no` or remove this key in your .env file.",
"you must set `REGISTRY_PLUGINS_ONLY=false` or remove this key in your .env file.",
color=self.bot.error_color,
)
await ctx.send(embed=embed)
Expand Down Expand Up @@ -356,7 +356,7 @@ async def plugins_add(self, ctx, *, plugin_name: str):
if plugin.name in self.bot.cogs:
# another class with the same name
embed = discord.Embed(
description="Cannot install this plugin (dupe cog name).",
description="Plugin with this name is already installed.",
color=self.bot.error_color,
)
return await ctx.send(embed=embed)
Expand Down

0 comments on commit fdac7b8

Please sign in to comment.