From 1d22f28506ce74d2cef832ca234b79ae34522420 Mon Sep 17 00:00:00 2001 From: benji7425 Date: Sun, 22 Jan 2017 18:24:18 +0000 Subject: [PATCH] Added allowSubscriptions check before mentioning when posting --- feed-bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed-bot.js b/feed-bot.js index 001ca5a..376be4c 100644 --- a/feed-bot.js +++ b/feed-bot.js @@ -196,7 +196,7 @@ var Subscriptions = { }, mention: function () { - return "<@&" + Config.subscribersRoleID + "> "; + return Config.allowSubscriptions ? "<@&" + Config.subscribersRoleID + "> " : ""; } };