Fixed role mentioning not working
This commit is contained in:
parent
f4a8a40cd5
commit
3842f96be3
|
@ -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": {
|
||||
|
|
|
@ -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…
Reference in New Issue