better yes//no's

This commit is contained in:
Bobloy 2018-05-16 16:33:46 -04:00
parent 19de2e2e2d
commit 4d5d277ed1
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ class CCRole:
return return
# Selfrole # Selfrole
await ctx.send('Is this a targeted command?(yes/no)\nNo will make this a selfrole command') await ctx.send('Is this a targeted command?(yes//no)\nNo will make this a selfrole command')
try: try:
answer = await self.bot.wait_for('message', timeout=120, check=check) answer = await self.bot.wait_for('message', timeout=120, check=check)

View File

@ -58,7 +58,7 @@ class StealEmoji:
async def se_bank(self, ctx): async def se_bank(self, ctx):
"""Add current server as emoji bank""" """Add current server as emoji bank"""
await ctx.send("This will upload custom emojis to this server\n" await ctx.send("This will upload custom emojis to this server\n"
"Are you sure you want to make the current server an emoji bank? (y/n)") "Are you sure you want to make the current server an emoji bank? (y//n)")
def check(m): def check(m):
return m.content.upper() in ["Y", "YES", "N", "NO"] and m.channel == ctx.channel and m.author == ctx.author return m.content.upper() in ["Y", "YES", "N", "NO"] and m.channel == ctx.channel and m.author == ctx.author