|
|
|
@ -7,10 +7,12 @@ from discord.ext.commands import BucketType, cooldown
|
|
|
|
|
|
|
|
|
|
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"]
|
|
|
|
|
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Fun(commands.Cog):
|
|
|
|
@ -93,10 +95,11 @@ class Fun(commands.Cog):
|
|
|
|
|
# Sending out a random compliment from the array "responses"
|
|
|
|
|
await ctx.send(random.choice(responses))
|
|
|
|
|
|
|
|
|
|
@commands.command(aliases=["Kiss"])
|
|
|
|
|
@commands.command(aliases=["Kiss", "kiss"])
|
|
|
|
|
@cooldown(1, 0.5, BucketType.channel)
|
|
|
|
|
async def kissing(self, ctx, target: discord.Member):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if str(ctx.channel) in channels:
|
|
|
|
|
|
|
|
|
|
with open('kissing.txt') as file:
|
|
|
|
@ -108,8 +111,9 @@ class Fun(commands.Cog):
|
|
|
|
|
member = ctx.message.author
|
|
|
|
|
userAvatar = member.avatar_url
|
|
|
|
|
|
|
|
|
|
embed = discord.Embed(title=f"**{ctx.message.author} Kisses {target.display_name}!!**",
|
|
|
|
|
colour=discord.Colour(random.choice(colours)))
|
|
|
|
|
embed = discord.Embed(
|
|
|
|
|
title=f"<:blushlook1:677310734123663363> <:blushlook2:679524467248201769> | **{member.display_name}** kissed **{target.display_name}**",
|
|
|
|
|
colour=discord.Colour(int(random.choice(colours))))
|
|
|
|
|
embed.set_image(url=random.choice(kissing_array))
|
|
|
|
|
embed.set_footer(text=f"Requested by {ctx.message.author}", icon_url='{}'.format(userAvatar))
|
|
|
|
|
|
|
|
|
@ -131,6 +135,8 @@ class Fun(commands.Cog):
|
|
|
|
|
@cooldown(1, 0.5, BucketType.channel)
|
|
|
|
|
async def _8ball(self, ctx, *, question):
|
|
|
|
|
|
|
|
|
|
channels = ["bot-commands"]
|
|
|
|
|
|
|
|
|
|
with open('eightball.txt') as file:
|
|
|
|
|
_8ball_array = file.readlines()
|
|
|
|
|
|
|
|
|
|