diff --git a/index.js b/index.js index a05b2a8..3c9eacd 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const path = require('node:path'); const deploy = require('./src/discord/deploy_command.js') const update = require('./src/pterodactyl/displayer.js'); const clean = require('./src/pterodactyl/cleaner.js'); -const { Client, GatewayIntentBits, Collection, Events, Partials } = require('discord.js'); +const { Client, GatewayIntentBits, Collection, Events, Partials, EmbedBuilder } = require('discord.js'); const intents = [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessageReactions]; diff --git a/src/pterodactyl/displayer.js b/src/pterodactyl/displayer.js index 4cdf9d6..8e350c7 100644 --- a/src/pterodactyl/displayer.js +++ b/src/pterodactyl/displayer.js @@ -1,5 +1,4 @@ -const DEFAULT_UPDATE_TEXT = "Panneau Minecraft"; - +const { EmbedBuilder } = require('discord.js'); const getMinecraftStatus = async () => { const address = process.env.MINECRAFT_SERVER_ADDRESS;