comment and send help
This commit is contained in:
parent
ddf325c57f
commit
b9831447ef
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user