mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 Downloader] Tell user how to load the cog after [p]cog install (#2523)
* tell user how to load the cog after install * use code block
This commit is contained in:
parent
e7b1fa5ab5
commit
e08e95c04e
@ -318,7 +318,11 @@ class Downloader(commands.Cog):
|
|||||||
|
|
||||||
await repo.install_libraries(target_dir=self.SHAREDLIB_PATH, req_target_dir=self.LIB_PATH)
|
await repo.install_libraries(target_dir=self.SHAREDLIB_PATH, req_target_dir=self.LIB_PATH)
|
||||||
|
|
||||||
await ctx.send(_("Cog `{cog_name}` successfully installed.").format(cog_name=cog_name))
|
await ctx.send(
|
||||||
|
_(
|
||||||
|
"Cog `{cog_name}` successfully installed. You can load it with `{prefix}load {cog_name}`"
|
||||||
|
).format(cog_name=cog_name, prefix=ctx.prefix)
|
||||||
|
)
|
||||||
if cog.install_msg is not None:
|
if cog.install_msg is not None:
|
||||||
await ctx.send(cog.install_msg.replace("[p]", ctx.prefix))
|
await ctx.send(cog.install_msg.replace("[p]", ctx.prefix))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user