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!") }) }