From 0b6b96450419233a5b84b4dbffb0be82003815c3 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 15 Oct 2017 01:34:52 -0400 Subject: [PATCH] WIP testing for help command --- src/main/cogs/info.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/main/cogs/info.py b/src/main/cogs/info.py index 9f3249b..1bdb7de 100644 --- a/src/main/cogs/info.py +++ b/src/main/cogs/info.py @@ -1,10 +1,11 @@ import asyncio import traceback as tb -import discord +import discord as d from discord.ext import commands from misc import exceptions as exc +from utils import utils as u class Info: @@ -12,8 +13,17 @@ class Info: def __init__(self, bot): self.bot = bot + # @commands.command(name='helptest', aliases=['h'], hidden=True) + # async def list_commands(self, ctx): + # embed = d.Embed(title='All possible commands:', color=ctx.me.color) + # embed.set_author(name=ctx.me.display_name, icon_url=ctx.me.avatar_url) + # embed.add_field( + # name='Booru', value='\n{}bl umbrella command for managing blacklists'.format(u.config['prefix'])) + # + # await ctx.send(embed=embed) + @commands.command(hidden=True) - async def hi(ctx): + async def hi(self, ctx): user = ctx.author hello = 'Hewwo, {}.'.format(user.mention)