[V3 Downloader] Add a requirements list to cog info (#1827)

This commit is contained in:
Will 2018-06-08 20:48:46 -04:00 committed by GitHub
parent c149f00f82
commit ca19ecaefc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -416,7 +416,9 @@ class Downloader:
)
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))
async def is_installed(