ajout asset et clef
This commit is contained in:
parent
9142e440d5
commit
2da84f5d71
6 changed files with 81 additions and 4 deletions
5
app.js
5
app.js
|
|
@ -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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue