This commit is contained in:
Louis Mazin 2026-04-16 00:30:05 +02:00
parent af9666892a
commit 930b639c0b
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@ const path = require('node:path');
const deploy = require('./src/discord/deploy_command.js') const deploy = require('./src/discord/deploy_command.js')
const update = require('./src/pterodactyl/displayer.js'); const update = require('./src/pterodactyl/displayer.js');
const clean = require('./src/pterodactyl/cleaner.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]; const intents = [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessageReactions];

View File

@ -1,5 +1,4 @@
const DEFAULT_UPDATE_TEXT = "Panneau Minecraft"; const { EmbedBuilder } = require('discord.js');
const getMinecraftStatus = async () => { const getMinecraftStatus = async () => {
const address = process.env.MINECRAFT_SERVER_ADDRESS; const address = process.env.MINECRAFT_SERVER_ADDRESS;