mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 18:23:52 -06:00
stupid fix
This commit is contained in:
parent
64648657f1
commit
1ddf1c118c
@ -137,7 +137,7 @@ The ID of the channel to log votes to..
|
||||
"voteBroadcastMessage": "✯ MAPVOTE ✯ Vote for the next map by writing in chat the corresponding number!",
|
||||
"logToDiscord": true,
|
||||
"channelID": "112233445566778899",
|
||||
"timeframes": [
|
||||
"timeFrames": [
|
||||
{
|
||||
"start": "12:00",
|
||||
"end": "18:00",
|
||||
|
@ -177,7 +177,7 @@ export default class MapVote extends DiscordBasePlugin {
|
||||
}
|
||||
async timeframeOptionOverrider() {
|
||||
const timeNow = new Date(0, 0, 0, new Date().getHours(), new Date().getMinutes());
|
||||
const activeTimeframes = this.or_options.timeframes.filter((tf) => tf.start);
|
||||
const activeTimeframes = this.or_options.timeFrames.filter(tfFilter);
|
||||
|
||||
console.log(activeTimeframes)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user