Skip to content

Commit

Permalink
fix(playing.js): fix formatting and syntax errors in playing.js file
Browse files Browse the repository at this point in the history
feat(playing.js): set activity for client user to "Playing" a game with a placeholder name

Signed-off-by: mikaaamoe <mikaaa.moe>
  • Loading branch information
mikaaamoe committed Sep 19, 2023
1 parent 8364db9 commit 2bd2345
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions statuses/playing.js
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 2bd2345

Please sign in to comment.