Skip to content

Commit

Permalink
Add initial listen.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjacobs31 committed Mar 24, 2017
1 parent e074175 commit 9e041ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module.exports = function(bp) {
bp.middlewares.load()

bp.hear({platform: "discord", type: "text", text: /^pandora:/i}, event => {
bp.discord.sendText(event.channel.id, "Bananas!")
})
}

0 comments on commit 9e041ca

Please sign in to comment.