lol error
This commit is contained in:
parent
64dd639d32
commit
741cd6a380
22
.env.example
22
.env.example
@ -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
|
|
||||||
2
index.js
2
index.js
@ -81,7 +81,7 @@ client.on(Events.InteractionCreate, async interaction => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (interaction.commandName === 'start-server' || interaction.commandName === 'reboot-server') {
|
if (interaction.commandName === 'start-server' || interaction.commandName === 'restart-server') {
|
||||||
await command.execute(interaction, headers);
|
await command.execute(interaction, headers);
|
||||||
} else {
|
} else {
|
||||||
await command.execute(interaction);
|
await command.execute(interaction);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user