mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Increased *ify limit to 30
This commit is contained in:
parent
10b876299a
commit
7652f276cc
1 changed files with 11 additions and 11 deletions
|
@ -23,7 +23,7 @@ class MsG:
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
self.color = d.Color(0x1A1A1A)
|
self.color = d.Color(0x1A1A1A)
|
||||||
self.LIMIT = 100
|
self.LIMIT = 100
|
||||||
self.HISTORY_LIMIT = 100
|
self.HISTORY_LIMIT = 150
|
||||||
self.RATE_LIMIT = u.RATE_LIMIT
|
self.RATE_LIMIT = u.RATE_LIMIT
|
||||||
self.qualiqueue = asyncio.Queue()
|
self.qualiqueue = asyncio.Queue()
|
||||||
self.qualitifying = False
|
self.qualitifying = False
|
||||||
|
@ -336,7 +336,7 @@ class MsG:
|
||||||
await ctx.send('**No matches found.**', delete_after=10)
|
await ctx.send('**No matches found.**', delete_after=10)
|
||||||
await ctx.message.add_reaction('\N{CROSS MARK}')
|
await ctx.message.add_reaction('\N{CROSS MARK}')
|
||||||
except exc.BoundsError as e:
|
except exc.BoundsError as e:
|
||||||
await ctx.send('`{}` **invalid limit.** Images limited to 20'.format(e), delete_after=10)
|
await ctx.send('`{}` **invalid limit.** Query limited to 30'.format(e), delete_after=10)
|
||||||
await ctx.message.add_reaction('\N{CROSS MARK}')
|
await ctx.message.add_reaction('\N{CROSS MARK}')
|
||||||
|
|
||||||
@commands.command(name='qualitify', aliases=['qualify', 'qrevify', 'qrisify', 'qify'])
|
@commands.command(name='qualitify', aliases=['qualify', 'qrevify', 'qrisify', 'qify'])
|
||||||
|
@ -410,7 +410,7 @@ class MsG:
|
||||||
await ctx.send('**No matches found.**', delete_after=10)
|
await ctx.send('**No matches found.**', delete_after=10)
|
||||||
await ctx.message.add_reaction('\N{CROSS MARK}')
|
await ctx.message.add_reaction('\N{CROSS MARK}')
|
||||||
except exc.BoundsError as e:
|
except exc.BoundsError as e:
|
||||||
await ctx.send('`{}` **invalid limit.** Images limited to 20'.format(e), delete_after=10)
|
await ctx.send('`{}` **invalid limit.** Query limited to 30'.format(e), delete_after=10)
|
||||||
await ctx.message.add_reaction('\N{CROSS MARK}')
|
await ctx.message.add_reaction('\N{CROSS MARK}')
|
||||||
|
|
||||||
async def _qualitify(self):
|
async def _qualitify(self):
|
||||||
|
|
Loading…
Reference in a new issue