|
|
|
@ -5,14 +5,11 @@ import random
|
|
|
|
|
import discord
|
|
|
|
|
from discord.ext import commands
|
|
|
|
|
|
|
|
|
|
import config
|
|
|
|
|
|
|
|
|
|
channels = ["bot-commands"]
|
|
|
|
|
|
|
|
|
|
colours = [0xff0000, 0x5825ff, 0xff80ed, 0xa0f684, 0x7700cc, 0x0b04d9, 0x3d04ae, 0x000033,
|
|
|
|
|
0x00FFFF,
|
|
|
|
|
0x120A8F, 0x7FFF0, 0xcc3300,
|
|
|
|
|
0x5E260, 0xcc0000, 0x0066cc, 0x7632cd, 0x76a7cd, 0xffa7cd, 0xff24cd, 0xff2443,
|
|
|
|
|
0xff7d43,
|
|
|
|
|
0xb52243, 0xb522ce, 0xb5f43d]
|
|
|
|
|
colour_list = [c for c in config.colors.values()]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Waifus(commands.Cog):
|
|
|
|
@ -34,7 +31,7 @@ class Waifus(commands.Cog):
|
|
|
|
|
member = ctx.message.author
|
|
|
|
|
userAvatar = member.avatar_url
|
|
|
|
|
|
|
|
|
|
embed = discord.Embed(title="**Hatake Kakashi**", colour=discord.Colour(random.choice(colours)))
|
|
|
|
|
embed = discord.Embed(title="**Hatake Kakashi**", colour=discord.Colour(random.choice(colour_list)))
|
|
|
|
|
embed.set_image(url=random.choice(kakashi_array))
|
|
|
|
|
embed.set_footer(text=f"Requested by {ctx.message.author}", icon_url='{}'.format(userAvatar))
|
|
|
|
|
embed.timestamp = datetime.datetime.utcnow()
|
|
|
|
@ -66,7 +63,8 @@ class Waifus(commands.Cog):
|
|
|
|
|
member = ctx.message.author # set member as the author
|
|
|
|
|
userAvatar = member.avatar_url
|
|
|
|
|
|
|
|
|
|
embed = discord.Embed(title="**Himiko Toga**", colour=discord.Colour(int(random.choice(colours))))
|
|
|
|
|
embed = discord.Embed(title="**Himiko Toga**",
|
|
|
|
|
colour=discord.Colour(int(random.choice(colour_list))))
|
|
|
|
|
embed.set_image(url=random.choice(toga_array))
|
|
|
|
|
embed.set_footer(text=f"Requested by {ctx.message.author}", icon_url='{}'.format(userAvatar))
|
|
|
|
|
embed.timestamp = datetime.datetime.utcnow()
|
|
|
|
@ -98,7 +96,7 @@ class Waifus(commands.Cog):
|
|
|
|
|
member = ctx.message.author
|
|
|
|
|
userAvatar = member.avatar_url
|
|
|
|
|
|
|
|
|
|
embed = discord.Embed(title="**Tamaki Suoh**", colour=discord.Colour(random.choice(colours)))
|
|
|
|
|
embed = discord.Embed(title="**Tamaki Suoh**", colour=discord.Colour(random.choice(colour_list)))
|
|
|
|
|
embed.set_image(url=random.choice(tamaki_array))
|
|
|
|
|
embed.set_footer(text=f"Requested by {ctx.message.author}", icon_url='{}'.format(userAvatar))
|
|
|
|
|
embed.timestamp = datetime.datetime.utcnow()
|
|
|
|
|