Skip to content

Commit

Permalink
Don't trigger hello message in announcements
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Feb 11, 2022
1 parent 2a624b8 commit 39c3b6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/interactions/hello.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { transcript } from '../utils'

const interactionHello = (bot, message) => {
const { channel } = message
if (channel == 'C0266FRGT') {
return // #announcements
}
// send a message back with a typo
bot.replyAndUpdate(
message,
Expand Down

0 comments on commit 39c3b6d

Please sign in to comment.