catch cooldown
This commit is contained in:
parent
a07e5fff0e
commit
16f2917489
1
bot.py
1
bot.py
|
@ -54,6 +54,7 @@ async def help(ctx):
|
|||
"heal. Stats messages will also be scanned currently you "
|
||||
"will only get info about your weapon.\n\n"
|
||||
"**Currently implemented cooldowns:**\n"
|
||||
" __10 seconds:__ {0}catch\n"
|
||||
" __14 seconds:__ {0}adv\n"
|
||||
" __300 seconds:__ {0}mine, {0}chop, {0}fish, {0}forage\n"
|
||||
" __600 seconds:__ {0}search\n"
|
||||
|
|
6
drpg.py
6
drpg.py
|
@ -43,6 +43,12 @@ class drpg:
|
|||
await asyncio.sleep(600)
|
||||
await self.bot.say(f'🔍 {ctx.message.author.mention} you can '
|
||||
f'**{ctx.prefix}search** again')
|
||||
|
||||
@commands.command(pass_context=True)
|
||||
async def catch(self, ctx):
|
||||
await asyncio.sleep(10)
|
||||
await self.bot.say(f'🐥 {ctx.message.author.mention} you can '
|
||||
f'**{ctx.prefix}catch** again')
|
||||
|
||||
async def on_message(self, message: discord.Message):
|
||||
if message.author.id == '170915625722576896':
|
||||
|
|
Loading…
Reference in New Issue