Skip to content

Commit

Permalink
Don't trigger gamelab in announcements channel
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Feb 11, 2022
1 parent 1a25bed commit 2a624b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/interactions/gamelab.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const interactionGamelab = (bot, message) => {
const { ts: timestamp, channel, user } = message

getInfoForUser(user).then(({ slackUser }) => {
if (channel == 'C0266FRGT') {
return // #announcements
}
if (slackUser.is_bot) {
bot.replyInThread(message, transcript('catchall.botReply'))
} else {
Expand Down

0 comments on commit 2a624b8

Please sign in to comment.