-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathv10.1.4Sbloader.js
77 lines (77 loc) ยท 4.48 KB
/
v10.1.4Sbloader.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
const Fs = require("fs");
const {
YouTIFY,
f,
YouTifiedFilesSoundMake,
CodeErrorDes,
YouTifyReadyLoger,
} = require("./สึ
สศถษจสสึสวสษส/YouTifyโข..js");
const แดสแดสแด = require("chalk");
const Jdk = ["Music", "Filters", "System"];
// ===========================================================================================================================
// ๐ง๐๐จ๐ฎ๐๐ข๐๐ฒโข is Discord ๐๐๐๐๐๐๐ Music Bot built with Discord..js and has ๐๐+ ๐๐ฎ๐๐ข๐จ ๐
๐ข๐ฅ๐ญ๐๐ซ๐ฌ. โ๐๐ฑ๐ฐ๐ต๐ช๐ง๐บ ๐ข๐ฏ๐ฅ ๐๐ฐ๐ถ๐ฏ๐ฅ๐ค๐ญ๐ฐ๐ถ๐ฅ ๐ข๐ณ๐ฆ ๐ช๐ฏ ๐ฃ๐ฆ๐ต๐ขโ
// ===========================================================================================================================
async function JdkYFCheck() {
Jdk.forEach((JdkCtg) => {
Fs.readdir(`./สึ
สศถษจสสสษีผษึษจึ/${JdkCtg}`, (error, Files) => {
if (error) throw error;
Files.forEach((Jdkfl) => {
if (!Jdkfl.endsWith(f)) {
console.log(
แดสแดสแด.red(
"YouTify's Files have been corrupted!\n\n.. Please never again."
)
);
process.exit(1);
}
// ===========================================================================================================================
// ๐ง๐๐จ๐ฎ๐๐ข๐๐ฒโข is Discord ๐๐๐๐๐๐๐ Music Bot built with Discord..js and has ๐๐+ ๐๐ฎ๐๐ข๐จ ๐
๐ข๐ฅ๐ญ๐๐ซ๐ฌ. โ๐๐ฑ๐ฐ๐ต๐ช๐ง๐บ ๐ข๐ฏ๐ฅ ๐๐ฐ๐ถ๐ฏ๐ฅ๐ค๐ญ๐ฐ๐ถ๐ฅ ๐ข๐ณ๐ฆ ๐ช๐ฏ ๐ฃ๐ฆ๐ต๐ขโ
// ===========================================================================================================================
const YouGenenis = require(`./สึ
สศถษจสสสษีผษึษจึ/${JdkCtg}/${Jdkfl}`);
if (
!YouGenenis.help.name ||
!YouGenenis.help.aliases ||
!YouGenenis.help.yougen
) {
console.log(
แดสแดสแด.bold.rgb(165, 19, 0)("YOUTIFY's = โ ="),
แดสแดสแด.italic.yellow(
`**${
YouGenenis.help.name ? YouGenenis.help.name : "Not_Defined"
}**`
),
แดสแดสแด.red(`- SymLink File error`)
);
}
// ===========================================================================================================================
// ๐ง๐๐จ๐ฎ๐๐ข๐๐ฒโข is Discord ๐๐๐๐๐๐๐ Music Bot built with Discord..js and has ๐๐+ ๐๐ฎ๐๐ข๐จ ๐
๐ข๐ฅ๐ญ๐๐ซ๐ฌ. โ๐๐ฑ๐ฐ๐ต๐ช๐ง๐บ ๐ข๐ฏ๐ฅ ๐๐ฐ๐ถ๐ฏ๐ฅ๐ค๐ญ๐ฐ๐ถ๐ฅ ๐ข๐ณ๐ฆ ๐ช๐ฏ ๐ฃ๐ฆ๐ต๐ขโ
// ===========================================================================================================================
YouTIFY.commands.set(YouGenenis.help.name, YouGenenis);
YouGenenis.help.aliases
? YouGenenis.help.aliases.forEach((Alias) =>
YouTIFY.aliases.set(Alias, YouGenenis.help.name)
)
: (YouGenenis.help.aliases = null);
console.log(
แดสแดสแด.bold.rgb(67, 116, 90)("YOUTIFY's = โก ="),
แดสแดสแด.green(`> ${YouGenenis.help.name}`),
แดสแดสแด.white(`+ Command has been re-loaded!`)
);
});
});
});
}
// ===========================================================================================================================
// ๐ง๐๐จ๐ฎ๐๐ข๐๐ฒโข is Discord ๐๐๐๐๐๐๐ Music Bot built with Discord..js and has ๐๐+ ๐๐ฎ๐๐ข๐จ ๐
๐ข๐ฅ๐ญ๐๐ซ๐ฌ. โ๐๐ฑ๐ฐ๐ต๐ช๐ง๐บ ๐ข๐ฏ๐ฅ ๐๐ฐ๐ถ๐ฏ๐ฅ๐ค๐ญ๐ฐ๐ถ๐ฅ ๐ข๐ณ๐ฆ ๐ช๐ฏ ๐ฃ๐ฆ๐ต๐ขโ
// ===========================================================================================================================
YouTIFY.on("ready", async () => {
console.clear();
await JdkYFCheck();
console.log(แดสแดสแด.yellow("==========================="));
await YouTifiedFilesSoundMake();
console.log(แดสแดสแด.yellow("==========================="));
await CodeErrorDes();
console.log(แดสแดสแด.yellow("==========================="));
await YouTifyReadyLoger();
console.log(แดสแดสแด.yellow("==========================="));
});