start work on help functions
from discord.ext import commands
+import classyjson
import discord
@@ -6,6 +7,16 @@ class Useful(commands.Cog):
def __init__(self, bot):
self.bot = bot
+ self.help_texts = classyjson.loads('{}') # creates an empty NiceDict~~bro~~
+
+
+ async def conglomerate(self, cog):
+ cmds = cog.get_commands()
+ body = ''
+
+ for cmd in cmds:
+ body += f'\n\{\}{}'
+
@commands.group(name='help')
async def cmd_help(self, ctx):
if ctx.invoked_subcommand is None:
@@ -26,5 +37,7 @@ class Useful(commands.Cog):
await ctx.send(embed=embed)
+ @commands.
+
def setup(bot):
bot.add_cog(Useful(bot))
