A Discord Bot connected to your Pterodactyl API.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: remove all unused variables

authored by

cosmeak and committed by
Cosmeak
5e2b2a08 74a36589

-13
-3
bin/command.deploy.js
··· 2 2 import * as fs from "node:fs"; 3 3 import * as path from "node:path"; 4 4 import { fileURLToPath } from "url"; 5 - import { config } from "dotenv"; 6 - config(); 7 - 8 5 const __filename = fileURLToPath(import.meta.url); 9 6 const __dirname = path.dirname(__filename); 10 7
-2
src/commands/CreateBackup.js
··· 1 1 import { SlashCommandBuilder, EmbedBuilder } from "discord.js"; 2 2 import fecthClientServerInfo from "../functions/fetchClientServerInfo.js"; 3 3 // import axios from "axios"; 4 - // import { config } from "dotenv"; 5 - // config(); 6 4 7 5 export default { 8 6 data: new SlashCommandBuilder()
-2
src/commands/SendCommand.js
··· 1 1 import { SlashCommandBuilder } from "discord.js"; 2 2 import axios from "axios"; 3 - import { config } from "dotenv"; 4 - config(); 5 3 6 4 export default { 7 5 data: new SlashCommandBuilder()
-2
src/commands/Servers.js
··· 1 1 import { SlashCommandBuilder, EmbedBuilder } from "discord.js"; 2 2 import axios from "axios"; 3 - import { config } from "dotenv"; 4 - config(); 5 3 6 4 export default { 7 5 data: new SlashCommandBuilder()
-2
src/events/ClientReady.js
··· 1 1 import { Events } from "discord.js"; 2 2 import { Logger } from "../services/Logger.js"; 3 - import { config } from "dotenv"; 4 - config(); 5 3 6 4 export default { 7 5 name: Events.ClientReady,
-2
src/functions/postServerPower.js
··· 1 1 import axios from "axios"; 2 - import { config } from "dotenv"; 3 - config(); 4 2 5 3 export default async (id, signal) => { 6 4 try {