diff --git a/.env.example b/.env.example deleted file mode 100644 index 9782d5d..0000000 --- a/.env.example +++ /dev/null @@ -1,22 +0,0 @@ -# Configuration Discord -DISCORD_TOKEN=votre_token_discord -GUILD_ID=votre_guild_id -BRIDGE_CHANNEL_ID=1234567891234567891 - -# Configuration Pterodactyl -PTERODACTYL_API_URL=https://votre-panel.com -PTERODACTYL_API_TOKEN=votre_token_pterodactyl -PTERODACTYL_SERVER_ID=votre_server_id - -# Configuration Palworld -PALWORLD_API_TOKEN=votre_token_palworld_api - -# Configuration Base de données -DB_HOST=localhost -DB_PORT=3306 -DB_USER=votre_utilisateur -DB_PASSWORD=votre_mot_de_passe -DB_NAME=nom_de_la_base - -# Configuration DeepL (optionnel) -DEEPL_TOKEN=votre_token_deepl diff --git a/index.js b/index.js index dbd87a1..692e2da 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ client.on(Events.InteractionCreate, async interaction => { } try { - if (interaction.commandName === 'start-server' || interaction.commandName === 'reboot-server') { + if (interaction.commandName === 'start-server' || interaction.commandName === 'restart-server') { await command.execute(interaction, headers); } else { await command.execute(interaction);