Added allowSubscriptions check before mentioning when posting

This commit is contained in:
benji7425 2017-01-22 18:24:18 +00:00
parent 5e7f147036
commit 1d22f28506
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ var Subscriptions = {
},
mention: function () {
return "<@&" + Config.subscribersRoleID + "> ";
return Config.allowSubscriptions ? "<@&" + Config.subscribersRoleID + "> " : "";
}
};