custom status discord bot
client.on("ready", () =>{
console.log(`Logged in as ${client.user.tag}!`);
client.user.setPresence({
status: "online", // You can show online, idle... Do not disturb is dnd
game: {
name: "!help", // The message shown
type: "PLAYING" // PLAYING, WATCHING, LISTENING, STREAMING,
}
});
});
Also in JavaScript:
- javascript trigger click on element
- javascript prototype explained
- content disposition attachment javascript fetch download "excel"
- jquery submit form on enter
- loop json jquery
- javascript remove uniques from array
- selected option attribute jquery
- JS glob to regex
- gi js
- export default arrow function
- simple node server
- vue current year
- get field type file js and loop
- for each loop class jquery
- concat no and string in javascript
- how to make a var and sprite in javascript
- clear form inside modal after close reactjs
- simple express server
- how to get variable in local storage in javascript
- faher js
- make submit button not refresh page
- nodejs get file size
- convert boolean to string javascript
- how to find dates in a string in js