Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.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);
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+5 =