Fixed role mentioning not working

This commit is contained in:
benji7425 2017-01-22 17:40:05 +00:00
parent f4a8a40cd5
commit 3842f96be3
2 changed files with 2 additions and 4 deletions

View File

@ -6,12 +6,11 @@
"messageDeleteDelay": 10000,
"youtubeMode": true,
"allowSubscriptions": true,
"subscribersRoleID": "268153160273625088",
"subscribersRoleID": "268152490002874368",
"logFile": "./log",
"userCommands": {
"subscribe": "!subscribe",
"unsubscribe": "!unsubscribe",
"subscribersList": "!sublist",
"help": "!help"
},
"developerCommands": {

View File

@ -184,7 +184,7 @@ var Subscriptions = {
},
mention: function () {
return "<@" + Config.subscribersRole + "> ";
return "<@&" + Config.subscribersRoleID + "> ";
}
};
@ -277,7 +277,6 @@ var intervalFunc = () => { }; //do nothing by default
//IIFE to kickstart the bot when the app loads
(function () {
Subscriptions.parse();
DiscordClient.startup();
setInterval(() => { intervalFunc(); }, Config.pollingInterval);
})();