Closed fisher60 closed 4 years ago
Please change the imports within this extension to match the rest within this repository to keep it consistent.
Example:
from discord.ext.commands import Cog
instead of from discord.ext import commands
and then commands.Cog
sometime later.
Edit: I see why it's from discord.ext import commands
. To keep it shorter, just do from discord.ext import commands as comms
.
Summary
This command links to the code of a command if it can be found. The embed could use a little work as it returns an empty description, this description shoul dbe the of a command. There is a known issue with the embed where entering an invalid cog name raises an exception, that exception escapes the markdown in the embed, it is mildly annoying.
Usage
\source
to get the generic repo or\source [command]
to get the cog sourceNeeds fixing
Missing description (this attempts to get the command
brief
)Closes: #8