“diskord.js.client” Code-Antworten

discord.js

npm install discord.js
Undefined

diskord.js.client

const {Client} = require('discord.js');
const client = new Client({ intents: 32767});
const {Token} = require("./config.json");

client.once("ready", () => {
    console.log(` ${client.user.tag} is working!`);
    client.user.setActivity(" my friend ", {type: "LISTENING"});
})

client.login(Token);
defud12345

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen