-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feat/264/limiting channel praise access #452
Conversation
ffdae2c
to
bb276ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, seems to be working as intended!
I merged #440 with main and then merged this branch and solved some small conflicts.
#440 moves all Praise Giver checking into the function assertPraiseGiver
- Perhaps we should consider renaming praiseAllowedInChannel
assertPraiseAllowedInChannel
?
#440 also removes getSetting
in favour of using the settingValue
in api/dist/shared/settings
.
Needs fixing:
12_praise_allowed_channels_settings.ts
should start with 14 to avoid conflict.
f9cd5e2
to
6bb0349
Compare
@Vyvy-vi I don't remember, are there more changes needed for this PR? |
This PR's good to go! |
packages/api/src/database/migrations/15_praise_allowed_channels_settings.ts
Outdated
Show resolved
Hide resolved
dependent on #521 being merged before |
9200385
to
28e2f77
Compare
@Vyvy-vi, this PR is confusing me a bit. It says it is merged but I find no trace of the functionality. What happened? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Merging.
Made one small text change.
Fixes #264
This Pr adds the following settings to the bot -
Praise is enabled by default in all channels of the server