Moved configs from Data to Configs
This commit is contained in:
1 parent
78dea91e1d
commit
cddd5d0026
24 files changed
+81
-42
No files matched your search
@@ -6,7 +6,9 @@ const fs = require("fs");
|
||||
const Discord = require("discord.js");
|
||||
|
||||
const yaml = require("js-yaml");
|
||||
const supportbot = yaml.load(fs.readFileSync("./Data/supportbot.yml", "utf8"));
|
||||
const supportbot = yaml.load(
|
||||
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
||||
);
|
||||
|
||||
function RunFunction(interaction) {}
|
||||
|
||||
|
||||
@@ -9,7 +9,9 @@ const Event = require("./Event.js");
|
||||
const intents = new Discord.Intents(32767);
|
||||
|
||||
const yaml = require("js-yaml");
|
||||
const supportbot = yaml.load(fs.readFileSync("./Data/supportbot.yml", "utf8"));
|
||||
const supportbot = yaml.load(
|
||||
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
||||
);
|
||||
|
||||
class Client extends Discord.Client {
|
||||
constructor() {
|
||||
|
||||
@@ -6,7 +6,9 @@ const fs = require("fs");
|
||||
const Discord = require("discord.js");
|
||||
|
||||
const yaml = require("js-yaml");
|
||||
const supportbot = yaml.load(fs.readFileSync("./Data/supportbot.yml", "utf8"));
|
||||
const supportbot = yaml.load(
|
||||
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
||||
);
|
||||
|
||||
function RunFunction(interaction) {}
|
||||
|
||||
|
||||
+3
-1
@@ -6,7 +6,9 @@ const fs = require("fs");
|
||||
const Discord = require("discord.js");
|
||||
|
||||
const yaml = require("js-yaml");
|
||||
const supportbot = yaml.load(fs.readFileSync("./Data/supportbot.yml", "utf8"));
|
||||
const supportbot = yaml.load(
|
||||
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
||||
);
|
||||
|
||||
function RunFunction(client, ...eventArgs) {}
|
||||
|
||||
|
||||
@@ -9,7 +9,9 @@ const Client = require("./Client.js");
|
||||
const Event = require("./Event.js");
|
||||
|
||||
const yaml = require("js-yaml");
|
||||
const supportbot = yaml.load(fs.readFileSync("./Data/supportbot.yml", "utf8"));
|
||||
const supportbot = yaml.load(
|
||||
fs.readFileSync("./Configs/supportbot.yml", "utf8")
|
||||
);
|
||||
|
||||
class TicketNumberID {
|
||||
static pad(guildId) {
|
||||
|
||||
Reference in new issue
Block a user