Skip to content

Commit

Permalink
Merge pull request #3 from rjacobs31/feature/botpress-initialise
Browse files Browse the repository at this point in the history
Remove unnecessary listen param.
  • Loading branch information
rjacobs31 authored Mar 25, 2017
2 parents ba11ab9 + 1335301 commit 1e80a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = function(bp) {
bp.middlewares.load()

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

0 comments on commit 1e80a96

Please sign in to comment.