ajout asset et clef

This commit is contained in:
Lou 2025-11-20 19:43:33 +01:00
parent 9142e440d5
commit 2da84f5d71
6 changed files with 81 additions and 4 deletions

5
app.js
View file

@ -1,5 +1,6 @@
require('dotenv').config();
const { Client, Events, GatewayIntentBits } = require('discord.js');
let discord_app_token = '...';
const client = new Client({
intents: [
@ -20,4 +21,4 @@ client.once(Events.ClientReady, () => {
console.log(`Hello World !`);
});
client.login(discord_app_token);
client.login(process.env.DISCORDTOKEN);