mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 14:47:29 +00:00
Merge branch 'dev'
This commit is contained in:
commit
3ef8c3d5e9
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