comment and send help

This commit is contained in:
bobloy 2017-11-14 14:42:47 -05:00
parent ddf325c57f
commit b9831447ef

View File

@ -216,7 +216,7 @@ class ReactRestrict:
# try: # try:
# ret = reaction.emoji.id # ret = reaction.emoji.id
# except AttributeError: # except AttributeError:
The emoji is unicode # The emoji is unicode
# ret = reaction.emoji # ret = reaction.emoji
# return ret, reaction.emoji # return ret, reaction.emoji
@ -227,7 +227,7 @@ class ReactRestrict:
Base command for this cog. Check help for the commands list. Base command for this cog. Check help for the commands list.
""" """
if ctx.invoked_subcommand is None: if ctx.invoked_subcommand is None:
await ctx.bot.send_cmd_help(ctx) await ctx.send_help()
@reactrestrict.command() @reactrestrict.command()
async def add(self, ctx: commands.Context, message_id: int, *, role: discord.Role): async def add(self, ctx: commands.Context, message_id: int, *, role: discord.Role):