feat: Add slash and legacy commands for kiss and hug interactions
This commit is contained in:
parent
b4079acf49
commit
41d8a352bd
@ -93,6 +93,84 @@ class MessageCog(commands.Cog):
|
||||
response = random.choice(sex_messages)
|
||||
await ctx.reply(response)
|
||||
|
||||
@rp.command(name="kiss", description="Send a wholesome kiss message to the mentioned user")
|
||||
@app_commands.allowed_installs(guilds=True, users=True)
|
||||
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True)
|
||||
@app_commands.describe(member="The user to send the message to")
|
||||
async def kiss_slash(self, interaction: discord.Interaction, member: discord.User):
|
||||
"""Slash command version of kiss."""
|
||||
kiss_messages = [
|
||||
f"{interaction.user.mention} gives {member.mention} a sweet kiss on the cheek.",
|
||||
f"{interaction.user.mention} leans in and gives {member.mention} a gentle kiss.",
|
||||
f"{interaction.user.mention} plants a soft kiss on {member.mention}'s forehead.",
|
||||
f"{interaction.user.mention} and {member.mention} share a quick, affectionate kiss.",
|
||||
f"{interaction.user.mention} gives {member.mention} a warm, lingering kiss.",
|
||||
f"{interaction.user.mention} kisses {member.mention}'s hand tenderly.",
|
||||
f"{interaction.user.mention} gives {member.mention} a playful peck on the nose.",
|
||||
f"{interaction.user.mention} and {member.mention} share a loving kiss.",
|
||||
f"{interaction.user.mention} gives {member.mention} a comforting kiss.",
|
||||
f"{interaction.user.mention} kisses {member.mention} with a smile.",
|
||||
]
|
||||
response = random.choice(kiss_messages)
|
||||
await interaction.response.send_message(response)
|
||||
|
||||
@commands.command(name="kiss")
|
||||
async def kiss_legacy(self, ctx: commands.Context, member: discord.User):
|
||||
"""Legacy command version of kiss."""
|
||||
kiss_messages = [
|
||||
f"{ctx.author.mention} gives {member.mention} a sweet kiss on the cheek.",
|
||||
f"{ctx.author.mention} leans in and gives {member.mention} a gentle kiss.",
|
||||
f"{ctx.author.mention} plants a soft kiss on {member.mention}'s forehead.",
|
||||
f"{ctx.author.mention} and {member.mention} share a quick, affectionate kiss.",
|
||||
f"{ctx.author.mention} gives {member.mention} a warm, lingering kiss.",
|
||||
f"{ctx.author.mention} kisses {member.mention}'s hand tenderly.",
|
||||
f"{ctx.author.mention} gives {member.mention} a playful peck on the nose.",
|
||||
f"{ctx.author.mention} and {member.mention} share a loving kiss.",
|
||||
f"{ctx.author.mention} gives {member.mention} a comforting kiss.",
|
||||
f"{ctx.author.mention} kisses {member.mention} with a smile.",
|
||||
]
|
||||
response = random.choice(kiss_messages)
|
||||
await ctx.reply(response)
|
||||
|
||||
@rp.command(name="hug", description="Send a wholesome hug message to the mentioned user")
|
||||
@app_commands.allowed_installs(guilds=True, users=True)
|
||||
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True)
|
||||
@app_commands.describe(member="The user to send the message to")
|
||||
async def hug_slash(self, interaction: discord.Interaction, member: discord.User):
|
||||
"""Slash command version of hug."""
|
||||
hug_messages = [
|
||||
f"{interaction.user.mention} gives {member.mention} a warm hug.",
|
||||
f"{interaction.user.mention} wraps their arms around {member.mention} in a comforting hug.",
|
||||
f"{interaction.user.mention} and {member.mention} share a tight hug.",
|
||||
f"{interaction.user.mention} gives {member.mention} a gentle hug.",
|
||||
f"{interaction.user.mention} pulls {member.mention} into a loving embrace.",
|
||||
f"{interaction.user.mention} and {member.mention} share a long, heartfelt hug.",
|
||||
f"{interaction.user.mention} gives {member.mention} a friendly hug.",
|
||||
f"{interaction.user.mention} hugs {member.mention} tightly.",
|
||||
f"{interaction.user.mention} gives {member.mention} a warm, fuzzy hug.",
|
||||
f"{interaction.user.mention} and {member.mention} share a sweet hug.",
|
||||
]
|
||||
response = random.choice(hug_messages)
|
||||
await interaction.response.send_message(response)
|
||||
|
||||
@commands.command(name="hug")
|
||||
async def hug_legacy(self, ctx: commands.Context, member: discord.User):
|
||||
"""Legacy command version of hug."""
|
||||
hug_messages = [
|
||||
f"{ctx.author.mention} gives {member.mention} a warm hug.",
|
||||
f"{ctx.author.mention} wraps their arms around {member.mention} in a comforting hug.",
|
||||
f"{ctx.author.mention} and {member.mention} share a tight hug.",
|
||||
f"{ctx.author.mention} gives {member.mention} a gentle hug.",
|
||||
f"{ctx.author.mention} pulls {member.mention} into a loving embrace.",
|
||||
f"{ctx.author.mention} and {member.mention} share a long, heartfelt hug.",
|
||||
f"{ctx.author.mention} gives {member.mention} a friendly hug.",
|
||||
f"{ctx.author.mention} hugs {member.mention} tightly.",
|
||||
f"{ctx.author.mention} gives {member.mention} a warm, fuzzy hug.",
|
||||
f"{ctx.author.mention} and {member.mention} share a sweet hug.",
|
||||
]
|
||||
response = random.choice(hug_messages)
|
||||
await ctx.reply(response)
|
||||
|
||||
# --- Memes Group ---
|
||||
memes = app_commands.Group(name="memes", description="Meme and copypasta commands")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user