Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 56701c8

Browse files
committedJun 28, 2024·
Move file to config
1 parent c7f335f commit 56701c8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 
File renamed without changes.

‎events/lunch_buddy.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
const { EmbedBuilder, ButtonBuilder, ActionRowBuilder } = require("discord.js");
22
const cron = require("node-cron");
3-
const fs = require("fs");
43

5-
const lunchBuddyLocations = JSON.parse(fs.readFileSync("./data/lunch_buddy_locations.json"));
6-
const config = JSON.parse(fs.readFileSync("./config/lunch_buddy.json"));
4+
const lunchBuddyLocations = require("../config/lunch_buddy_locations.json");
5+
const config = require("../config/lunch_budy.json");
76

87
const maxRowButtons = 4;
98
const areaButtonCustomId = "AreaButton";

0 commit comments

Comments
 (0)
Please sign in to comment.