mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
Merge branch 'dev'
This commit is contained in:
commit
dd2396c5a9
1 changed files with 6 additions and 6 deletions
|
@ -152,8 +152,6 @@ class MsG:
|
||||||
delete = False
|
delete = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await ctx.message.add_reaction('✅')
|
|
||||||
|
|
||||||
if arg == '-d' or arg == '-del' or arg == '-delete':
|
if arg == '-d' or arg == '-del' or arg == '-delete':
|
||||||
delete = True
|
delete = True
|
||||||
elif arg is not None:
|
elif arg is not None:
|
||||||
|
@ -206,6 +204,8 @@ class MsG:
|
||||||
await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=10)
|
await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=10)
|
||||||
await message.add_reaction('❌')
|
await message.add_reaction('❌')
|
||||||
|
|
||||||
|
await ctx.message.add_reaction('✅')
|
||||||
|
|
||||||
except exc.NotFound:
|
except exc.NotFound:
|
||||||
await ctx.send('**No matches found.**', delete_after=10)
|
await ctx.send('**No matches found.**', delete_after=10)
|
||||||
await ctx.message.add_reaction('❌')
|
await ctx.message.add_reaction('❌')
|
||||||
|
@ -220,8 +220,6 @@ class MsG:
|
||||||
if not urls and not ctx.message.attachments:
|
if not urls and not ctx.message.attachments:
|
||||||
raise exc.MissingArgument
|
raise exc.MissingArgument
|
||||||
|
|
||||||
await ctx.message.add_reaction('✅')
|
|
||||||
|
|
||||||
for url in urls:
|
for url in urls:
|
||||||
try:
|
try:
|
||||||
await ctx.trigger_typing()
|
await ctx.trigger_typing()
|
||||||
|
@ -248,6 +246,8 @@ class MsG:
|
||||||
except exc.MatchError as e:
|
except exc.MatchError as e:
|
||||||
await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=10)
|
await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=10)
|
||||||
|
|
||||||
|
await ctx.message.add_reaction('✅')
|
||||||
|
|
||||||
except exc.MissingArgument:
|
except exc.MissingArgument:
|
||||||
await ctx.send('**Invalid url or file.**', delete_after=10)
|
await ctx.send('**Invalid url or file.**', delete_after=10)
|
||||||
await ctx.message.add_reaction('❌')
|
await ctx.message.add_reaction('❌')
|
||||||
|
@ -260,8 +260,6 @@ class MsG:
|
||||||
attachments = []
|
attachments = []
|
||||||
delete = False
|
delete = False
|
||||||
|
|
||||||
await ctx.message.add_reaction('✅')
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if arg == '-d' or arg == '-del' or arg == '-delete':
|
if arg == '-d' or arg == '-del' or arg == '-delete':
|
||||||
delete = True
|
delete = True
|
||||||
|
@ -319,6 +317,8 @@ class MsG:
|
||||||
await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=10)
|
await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=10)
|
||||||
await message.add_reaction('❌')
|
await message.add_reaction('❌')
|
||||||
|
|
||||||
|
await ctx.message.add_reaction('✅')
|
||||||
|
|
||||||
except exc.NotFound:
|
except exc.NotFound:
|
||||||
await ctx.send('**No matches found.**', delete_after=10)
|
await ctx.send('**No matches found.**', delete_after=10)
|
||||||
await ctx.message.add_reaction('❌')
|
await ctx.message.add_reaction('❌')
|
||||||
|
|
Loading…
Reference in a new issue