diff --git a/SECURITY.md b/SECURITY.md index 1a2bc36..f11799c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,8 +6,8 @@ The following versions will receive security updates as needed: | Version | Supported | | ------------ | ------------------ | -| 0.4.0-beta | :white_check_mark: | -| < 0.4.0-beta | :x: | +| 0.4.1-beta | :white_check_mark: | +| < 0.4.1-beta | :x: | ## Reporting a Vulnerability diff --git a/commands/hug.py b/commands/hug.py index 1f881b8..3445c00 100644 --- a/commands/hug.py +++ b/commands/hug.py @@ -27,12 +27,12 @@ async def hug(self, interaction: discord.Interaction, member: discord.Member): if member.id == interaction.user.id: await interaction.response.send_message(content="You can't hug yourself! Here I will give you a big hug! ", embed=embed) return - if member.bot: - await interaction.response.send_message(content="Bots don't need hugs! But I do, so here is a hug for you! ", embed=embed) - return if member.id == config.BOT_ID: await interaction.response.send_message(content="Here I will give you a big hug! ", embed=embed) return + if member.bot: + await interaction.response.send_message(content="Bots don't need hugs! But I do, so here is a hug for you! ", embed=embed) + return await interaction.response.send_message(content= f"{interaction.user.mention} hugs {member.mention} <:AVA_hug:1244799683042344970>", embed=embed) except httpx.HTTPError as http_err: print(f'HTTP error occurred: {http_err}') diff --git a/commands/kiss.py b/commands/kiss.py index 7237dcf..abd073c 100644 --- a/commands/kiss.py +++ b/commands/kiss.py @@ -27,12 +27,12 @@ async def kiss(self, interaction: discord.Interaction, member: discord.Member): if member.id == interaction.user.id: await interaction.response.send_message(content="You can't kiss yourself! Here I will give you a big kiss! ", embed=embed) return - if member.bot: - await interaction.response.send_message(content="Bots don't need kisses! But I do, so here is a kiss for you! ", embed=embed) - return if member.id == config.BOT_ID: await interaction.response.send_message(content="Here I will give you a big kiss! ", embed=embed) return + if member.bot: + await interaction.response.send_message(content="Bots don't need kisses! But I do, so here is a kiss for you! ", embed=embed) + return await interaction.response.send_message(content= f"{interaction.user.mention} kisses {member.mention} <:AVA_hug:1244799683042344970>", embed=embed) except httpx.HTTPError as http_err: print(f'HTTP error occurred: {http_err}') diff --git a/ex_config (change me to config.py).py b/ex_config (change me to config.py).py index 05b08cd..3755a3a 100644 --- a/ex_config (change me to config.py).py +++ b/ex_config (change me to config.py).py @@ -1,4 +1,4 @@ -AVA_VERSION = 'v0.4.0-beta' # Do not change this, it will help with troubleshooting later +AVA_VERSION = 'v0.4.1-beta' # Do not change this, it will help with troubleshooting later CONFIG_VERSION = 3 # Do not change this, it will help with troubleshooting later # Required Bot Configuration