initial commit
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
commit
c22dade3d5
21 files changed
+564
No files matched your search
@@ -0,0 +1,8 @@
|
||||
from discord.ext import commands
|
||||
class help(commands.Cog):
|
||||
def __init__(s,bot):s.bot=bot
|
||||
@commands.command(name="help")
|
||||
async def help(s,ctx):
|
||||
names=sorted(c.qualified_name for c in s.bot.walk_commands() if not c.hidden)
|
||||
await ctx.send("```\n"+"\n".join(";"+n for n in names)+"\n```")
|
||||
async def setup(bot):await bot.add_cog(help(bot))
|
||||
Reference in new issue
Block a user