Appropriate permission to `notifySlack`

pull/7646/head
kraktus 2020-11-27 22:00:44 +00:00
parent b2710f1d2a
commit 2c4bc02a65
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ final class Mod(
}
def notifySlack(username: String) =
OAuthMod(_.ModNote) { _ => me =>
OAuthMod(_.NotifySlack) { _ => me =>
withSuspect(username) { sus =>
env.slack.api.userMod(user = sus.user, mod = me) map some
}