From 1f2b3e58ed5ce0346bcec0c42b644b3f78f49cf5 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Wed, 29 Oct 2025 13:00:14 -0500 Subject: [PATCH] All pings on /cc --- commands/custom_commands/main.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/commands/custom_commands/main.py b/commands/custom_commands/main.py index 31367d7..3e38e95 100644 --- a/commands/custom_commands/main.py +++ b/commands/custom_commands/main.py @@ -62,13 +62,21 @@ class CustomCommandsCommands(commands.Cog): # description=response_content, # color=EmbedColors.PRIMARY # ) - + # # Add creator info in footer # embed.set_footer( # text=f"Created by {command.creator.username} • Used {command.use_count} times" # ) - - await interaction.followup.send(content=response_content) + + # Send with mentions enabled (users and roles, but not @everyone/@here) + await interaction.followup.send( + content=response_content, + allowed_mentions=discord.AllowedMentions( + users=True, # Allow user mentions (<@123456789>) + roles=True, # Allow role mentions (<@&987654321>) + everyone=False # Block @everyone/@here (already validated) + ) + ) @execute_custom_command.autocomplete('name') async def execute_custom_command_autocomplete(