Fixed role mentioning not working
This commit is contained in:
parent
f4a8a40cd5
commit
3842f96be3
|
@ -6,12 +6,11 @@
|
||||||
"messageDeleteDelay": 10000,
|
"messageDeleteDelay": 10000,
|
||||||
"youtubeMode": true,
|
"youtubeMode": true,
|
||||||
"allowSubscriptions": true,
|
"allowSubscriptions": true,
|
||||||
"subscribersRoleID": "268153160273625088",
|
"subscribersRoleID": "268152490002874368",
|
||||||
"logFile": "./log",
|
"logFile": "./log",
|
||||||
"userCommands": {
|
"userCommands": {
|
||||||
"subscribe": "!subscribe",
|
"subscribe": "!subscribe",
|
||||||
"unsubscribe": "!unsubscribe",
|
"unsubscribe": "!unsubscribe",
|
||||||
"subscribersList": "!sublist",
|
|
||||||
"help": "!help"
|
"help": "!help"
|
||||||
},
|
},
|
||||||
"developerCommands": {
|
"developerCommands": {
|
||||||
|
|
|
@ -184,7 +184,7 @@ var Subscriptions = {
|
||||||
},
|
},
|
||||||
|
|
||||||
mention: function () {
|
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
|
//IIFE to kickstart the bot when the app loads
|
||||||
(function () {
|
(function () {
|
||||||
Subscriptions.parse();
|
|
||||||
DiscordClient.startup();
|
DiscordClient.startup();
|
||||||
setInterval(() => { intervalFunc(); }, Config.pollingInterval);
|
setInterval(() => { intervalFunc(); }, Config.pollingInterval);
|
||||||
})();
|
})();
|
Loading…
Reference in a new issue