All pings on /cc
This commit is contained in:
parent
a26d1bccd6
commit
1f2b3e58ed
@ -68,7 +68,15 @@ class CustomCommandsCommands(commands.Cog):
|
||||
# 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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user