Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@notbakaneko
Copy link
Collaborator

closes #8147

}

if ($user->isModerator()) {
if ($user->isModerator() || $user->isBot()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this one missing isAdmin compared to the one in App\Models\Chat\Channel#isVisibleFor 🤔

is it time for a new isThing check

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because it's OsuAuthorize 👀

@nanaya nanaya enabled auto-merge September 28, 2021 11:36
@nanaya nanaya merged commit 643c2f2 into ppy:master Sep 28, 2021
@notbakaneko notbakaneko deleted the feature/chat-bot-send-permissions branch October 7, 2021 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some chat bots (using API) need ability to send messages to users regardless of settings

2 participants