Add derek check for !cc prettyrainbow
This commit is contained in:
parent
6efa5a0312
commit
222144ecbf
@ -168,6 +168,9 @@ class Fun(commands.Cog):
|
|||||||
# Kermit lost gif
|
# Kermit lost gif
|
||||||
await ctx.send('https://tenor.com/6saQ.gif')
|
await ctx.send('https://tenor.com/6saQ.gif')
|
||||||
else:
|
else:
|
||||||
|
if chosen.name == 'prettyrainbow' and ctx.author.id == 291738770313707521:
|
||||||
|
await ctx.send(random_no_phrase())
|
||||||
|
return
|
||||||
await ctx.send(chosen.message)
|
await ctx.send(chosen.message)
|
||||||
chosen.last_used = datetime.now()
|
chosen.last_used = datetime.now()
|
||||||
chosen.sent_warns = 0
|
chosen.sent_warns = 0
|
||||||
@ -253,6 +256,7 @@ class Fun(commands.Cog):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if this_command.delete_instance() == 1:
|
if this_command.delete_instance() == 1:
|
||||||
|
await question.edit(view=None)
|
||||||
await ctx.send('He gone!')
|
await ctx.send('He gone!')
|
||||||
else:
|
else:
|
||||||
await ctx.send('Welp. That didn\'t work. Go complain to an adult, I guess.')
|
await ctx.send('Welp. That didn\'t work. Go complain to an adult, I guess.')
|
||||||
|
|||||||
@ -594,7 +594,12 @@ def random_no_phrase():
|
|||||||
'uhh...no',
|
'uhh...no',
|
||||||
'lol no',
|
'lol no',
|
||||||
'nope',
|
'nope',
|
||||||
|
'not again',
|
||||||
|
'huh uh',
|
||||||
|
'nah'
|
||||||
]
|
]
|
||||||
|
this_phrase = phrases[random.randint(0, len(phrases) - 1)]
|
||||||
|
return this_phrase
|
||||||
|
|
||||||
|
|
||||||
def random_soccer():
|
def random_soccer():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user