From 2bd23451f59ee8800335c59557688e288ae69ea3 Mon Sep 17 00:00:00 2001 From: mikaaamoe Date: Tue, 19 Sep 2023 10:42:20 +0700 Subject: [PATCH] fix(playing.js): fix formatting and syntax errors in playing.js file feat(playing.js): set activity for client user to "Playing" a game with a placeholder name Signed-off-by: mikaaamoe --- statuses/playing.js | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/statuses/playing.js b/statuses/playing.js index 7c1145a..8566c50 100644 --- a/statuses/playing.js +++ b/statuses/playing.js @@ -1,12 +1,17 @@ -const dotenv = require('dotenv'); +const dotenv = require("dotenv"); const chalk = require("chalk"); -const TOKEN = (process.env.TOKEN); -const { Client } = require('discord.js-selfbot-v11') +const TOKEN = process.env.TOKEN; +const { Client } = require("discord.js-selfbot-v11"); const client = new Client(); -client.on('ready', () => { - client.user.setActivity("Here Name Of The Games", { type: "PLAYING"}) - console.log(("[" + chalk.yellowBright.bold("PLAYING") + "]") + ` Successfully logged in as ${client.user.username} (${client.user.id})!`); -}) +client.on("ready", () => { + client.user.setActivity("Here Name Of The Games", { type: "PLAYING" }); + console.log( + "[" + + chalk.yellowBright.bold("PLAYING") + + "]" + + ` Successfully logged in as ${client.user.username} (${client.user.id})!` + ); +}); client.login(TOKEN);