Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customcommands: relax restriction on execCC from command templates #1684

Conversation

jo3-l
Copy link
Contributor

@jo3-l jo3-l commented Jun 23, 2024

This PR relaxes a restriction on execCC calls from command templates (e.g., moderation DM templates) introduced in #1677. Specifically, we now permit one execCC call from command templates as long as it is not nested. This new restriction still resolves the original issue that #1677 set out to address but is less prone to cause breakage in userland.

@ashishjh-bst ashishjh-bst merged commit 771246d into botlabs-gg:dev Jun 27, 2024
1 check passed
ashishjh-bst added a commit to ashishjh-bst/yagpdb that referenced this pull request Jun 28, 2024
SoggySaussages added a commit to SoggySaussages/yagpdb-main that referenced this pull request Jul 10, 2024
ashishjh-bst pushed a commit that referenced this pull request Aug 28, 2024
* Reapply "templates: block nested template executors (#1677)"

This reverts commit 8b8ebbc.

* Reapply "customcommands: relax restriction on execCC from command templates (#1684)"

This reverts commit 3f743b0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants