mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Fix Context reactions not sending
This commit is contained in:
parent
dd832f4486
commit
0e40a884fd
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class Utils(cmds.Cog):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await tempchannel.send(message)
|
await tempchannel.send(message)
|
||||||
await ctx.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
await ctx.message.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
||||||
|
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
await ctx.send('**Invalid channel**')
|
await ctx.send('**Invalid channel**')
|
||||||
|
@ -76,4 +76,4 @@ class Utils(cmds.Cog):
|
||||||
@send.command(name='user', aliases=['u', 'member', 'm'])
|
@send.command(name='user', aliases=['u', 'member', 'm'])
|
||||||
async def send_user(self, ctx, user, *, message):
|
async def send_user(self, ctx, user, *, message):
|
||||||
await d.utils.get(self.bot.get_all_members(), id=int(user)).send(message)
|
await d.utils.get(self.bot.get_all_members(), id=int(user)).send(message)
|
||||||
await ctx.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
await ctx.message.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
||||||
|
|
Loading…
Reference in a new issue