Browse Source

Fixed role mentioning not working

shorten
benji7425 4 years ago
parent
commit
3842f96be3
  1. 3
      config.json
  2. 3
      feed-bot.js

3
config.json

@ -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": {

3
feed-bot.js

@ -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);
})();
Loading…
Cancel
Save