Skip to content

Commit 5d2b584

Browse files
committed
Fix grammar
1 parent 5a03f7e commit 5d2b584

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cogs/plugins.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ async def load_plugin(self, username, repo, plugin_name):
133133
try:
134134
self.bot.load_extension(ext)
135135
except commands.ExtensionError as exc:
136+
# TODO: Add better error handling for plugin load faliure
137+
import traceback
138+
traceback.print_exc()
136139
raise DownloadError("Invalid plugin") from exc
137140
else:
138141
msg = f"Loaded plugins.{username}-{repo}.{plugin_name}"
@@ -214,7 +217,7 @@ async def plugin_add(self, ctx, *, plugin_name: str):
214217

215218
embed = discord.Embed(
216219
description="The plugin is installed.\n"
217-
"*Please note: any plugin that you install is of your OWN RISK*",
220+
"*Please note: any plugin that you install is at your OWN RISK*",
218221
color=self.bot.main_color,
219222
)
220223
await ctx.send(embed=embed)

0 commit comments

Comments
 (0)