Skip to content

Commit ed9394f

Browse files
authored
Moderation: add quick reply for misused permission groups (#6696)
* add quick reply for misused groups + organize * Update misused-group.md
1 parent 9e1e878 commit ed9394f

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
These files may not be grouped correctly.</br>
2+
Please ensure that this group only contains files from the same project and author that fall under the same licensing or permissions.

packages/moderation/src/data/quick-replies/attribution-quick-replies.ts renamed to packages/moderation/src/data/quick-replies/permissions-quick-replies.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ export default [
2222
.default,
2323
private: false,
2424
},
25+
{
26+
label: '🗃️ Misused Group',
27+
message: async () =>
28+
(await import('../messages/quick-replies/externals-permissions/misused-group.md?raw'))
29+
.default,
30+
private: false,
31+
},
2532
{
2633
label: '🌐 Not Permission to Distribute',
2734
message: async () =>

packages/moderation/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export {
88
type TechReviewContext,
99
default as techReviewQuickReplies,
1010
} from './data/quick-replies/tech-review-quick-replies'
11-
export { default as attributionQuickReplies } from './data/quick-replies/attribution-quick-replies'
11+
export { default as attributionQuickReplies } from './data/quick-replies/permissions-quick-replies'
1212
export * from './locales'
1313
export * from './types/actions'
1414
export * from './types/keybinds'

0 commit comments

Comments
 (0)