mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Merge branch 'dev'
This commit is contained in:
commit
d0a2d99993
2 changed files with 7 additions and 5 deletions
|
@ -267,8 +267,8 @@ class MsG:
|
||||||
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('❌')
|
||||||
except ValueError:
|
except exc.BoundsError as e:
|
||||||
await ctx.send('**Invalid limit.**', delete_after=10)
|
await ctx.send('`{}` **invalid limit.** Images limited to 20'.format(e), delete_after=10)
|
||||||
await ctx.message.add_reaction('❌')
|
await ctx.message.add_reaction('❌')
|
||||||
|
|
||||||
@commands.command(name='qualitify', aliases=['qualify', 'qrevify', 'qrisify', 'qify'])
|
@commands.command(name='qualitify', aliases=['qualify', 'qrevify', 'qrisify', 'qify'])
|
||||||
|
@ -341,9 +341,9 @@ class MsG:
|
||||||
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('❌')
|
||||||
# except ValueError:
|
except exc.BoundsError as e:
|
||||||
# await ctx.send('**Invalid limit.**', delete_after=10)
|
await ctx.send('`{}` **invalid limit.** Images limited to 20'.format(e), delete_after=10)
|
||||||
# await ctx.message.add_reaction('❌')
|
await ctx.message.add_reaction('❌')
|
||||||
|
|
||||||
async def _qualitify(self):
|
async def _qualitify(self):
|
||||||
while self.qualitifying:
|
while self.qualitifying:
|
||||||
|
|
|
@ -9,6 +9,8 @@ import aiohttp
|
||||||
import discord as d
|
import discord as d
|
||||||
from pync import Notifier
|
from pync import Notifier
|
||||||
|
|
||||||
|
from misc import exceptions as exc
|
||||||
|
|
||||||
print('\nPID : {}\n'.format(os.getpid()))
|
print('\nPID : {}\n'.format(os.getpid()))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue