[V3 CC] CCs not pinging @here and @everyone #2518
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#2518
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Command bugs / Feature requests
Not sure if this is working as intended or a bug.
What cog is this command from?
CC
What were you expecting to happen?
If I type in
@everyoneor@hereto a CC, I expect the respective annoyances to be pinged when executing the CC.What actually happened?
CC inputs them as plaintext.
A user was asking in #support why his CCs don't ping @here and @everyone. After some snooping around people found that
Context.sendescapes mass mentions by default, and is the reason for them not working on CCs.In my humble opinion, there should at least be an option to use them in CCs and actually make them ping. I was thinking if you don't want them to be enabled by default, maybe an argument like {everyone} would be possible? I can see the need for admins to create CCs that use these mentions, however annoying people might feel them to be.
The problem with this is that CCs can be used by anyone. By having a CC which can mass mention, anyone can use your bot to repeatedly mass mention,
What if there was a sub-command to create mod&admin / admin-only CCs?
I sort of forgot that CCs are usable by everyone, woops.
IIRC, permissions cog can't be used on CCs, right? So this indeed poses an issue.
Erledigt in
3e1cb7606. Neu:[p]customcom mentions [true|false](Server-Admins). Damit können Custom Commands@everyone,@hereund Rollen erwähnen. Es pingen nur Erwähnungen, die im Custom Command selbst stehen; von Nutzern übergebene Argumente pingen nicht, damit niemand den Bot zum Massen-Ping missbrauchen kann.Generated by Claude Code