1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +00:00

Fix Context reactions not sending

This commit is contained in:
Myned 2019-11-01 19:30:10 -04:00
parent dd832f4486
commit 0e40a884fd
No known key found for this signature in database
GPG key ID: BC58C09870A63E59

View file

@ -63,7 +63,7 @@ class Utils(cmds.Cog):
try:
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:
await ctx.send('**Invalid channel**')
@ -76,4 +76,4 @@ class Utils(cmds.Cog):
@send.command(name='user', aliases=['u', 'member', 'm'])
async def send_user(self, ctx, user, *, 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}')