mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 Downloader] Add a requirements list to cog info (#1827)
This commit is contained in:
parent
c149f00f82
commit
ca19ecaefc
@ -416,7 +416,9 @@ class Downloader:
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
msg = _("Information on {}:\n{}").format(cog.name, cog.description or "")
|
msg = _("Information on {}:\n{}\n\nRequirements: {}").format(
|
||||||
|
cog.name, cog.description or "", ", ".join(cog.requirements) or "None"
|
||||||
|
)
|
||||||
await ctx.send(box(msg))
|
await ctx.send(box(msg))
|
||||||
|
|
||||||
async def is_installed(
|
async def is_installed(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user