Skip to content

Commit ee3d94e

Browse files
committed
Add clearer chapter permission error
1 parent b6da103 commit ee3d94e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/permissions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export async function canSubmit(userID: HashedUserID, category: Category): Promi
2727
lowDownvotes(userID),
2828
(async () => (await getReputation(userID)) > config.minReputationToSubmitChapter)(),
2929
hasFeature(userID, Feature.ChapterSubmitter)
30-
])
30+
]),
31+
reason: "Submitting chapters requires a minimum reputation. You can ask on Discord/Matrix to get permission with less reputation."
3132
};
3233
default:
3334
return {

0 commit comments

Comments
 (0)