From 1335301ca64570ccbfac3d5907265ee002a0b0a6 Mon Sep 17 00:00:00 2001 From: Rudolph Jacobs Date: Sat, 25 Mar 2017 07:13:42 +0200 Subject: [PATCH] Remove unnecessary listen param. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f1c0f79..f01b76e 100644 --- a/index.js +++ b/index.js @@ -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!") }) }