|
|
@ -1,6 +1,7 @@
|
|
|
|
import asyncio
|
|
|
|
import asyncio
|
|
|
|
import datetime
|
|
|
|
import datetime
|
|
|
|
import random
|
|
|
|
import random
|
|
|
|
|
|
|
|
import string
|
|
|
|
|
|
|
|
|
|
|
|
import discord
|
|
|
|
import discord
|
|
|
|
from discord.ext import commands
|
|
|
|
from discord.ext import commands
|
|
|
@ -118,10 +119,10 @@ class Waifus(commands.Cog):
|
|
|
|
@commands.command(aliases=['enso', 'Ensoperson'])
|
|
|
|
@commands.command(aliases=['enso', 'Ensoperson'])
|
|
|
|
@cooldown(1, 0.5, BucketType.channel)
|
|
|
|
@cooldown(1, 0.5, BucketType.channel)
|
|
|
|
async def ensoperson(self, ctx, name=None):
|
|
|
|
async def ensoperson(self, ctx, name=None):
|
|
|
|
array = ['hussein', 'inna', 'kaiju', 'kate', 'lukas',
|
|
|
|
array = string.capwords(['hussein', 'inna', 'kaiju', 'kate', 'lukas',
|
|
|
|
'marshall', 'stitch', 'zara', 'josh', 'ange',
|
|
|
|
'marshall', 'stitch', 'zara', 'josh', 'ange',
|
|
|
|
'gria', 'lilu', 'marcus', 'eric', 'ifrah',
|
|
|
|
'gria', 'lilu', 'marcus', 'eric', 'ifrah',
|
|
|
|
'janet', 'connor', 'taz', 'ryder', 'clarity']
|
|
|
|
'janet', 'connor', 'taz', 'ryder', 'clarity'])
|
|
|
|
|
|
|
|
|
|
|
|
proper_name = name.lower()
|
|
|
|
proper_name = name.lower()
|
|
|
|
|
|
|
|
|
|
|
@ -136,13 +137,11 @@ class Waifus(commands.Cog):
|
|
|
|
print(e)
|
|
|
|
print(e)
|
|
|
|
|
|
|
|
|
|
|
|
await ctx.send(f"Sorry! That person doesn't exist!! Try the names listed below!")
|
|
|
|
await ctx.send(f"Sorry! That person doesn't exist!! Try the names listed below!")
|
|
|
|
for name in array:
|
|
|
|
|
|
|
|
await ctx.send(name.capitalize())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# col_width = max(len(word) for row in array for word in row) + 2 # padding
|
|
|
|
col_width = max(len(word) for row in array for word in row) + 2 # padding
|
|
|
|
# for row in array:
|
|
|
|
for row in array:
|
|
|
|
# formattedmsg = ("\n".join(word.ljust(col_width) for word in row))
|
|
|
|
formattedmsg = ("".join(word.ljust(col_width) for word in row))
|
|
|
|
# await ctx.send(formattedmsg.capitalize())
|
|
|
|
await ctx.send(formattedmsg)
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
|
|
|
|
|
|
|
|