diff --git a/index.js b/index.js index 9eddcbc..f1c0f79 100644 --- a/index.js +++ b/index.js @@ -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!") + }) }