Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
add more activity status it's change in every 4 second
  • Loading branch information
NICK-FURY-6023 authored Nov 28, 2023
1 parent 21abbf6 commit 8a8027c
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,23 @@ const radio = require(`./botconfig/radiostation.json`);

client.once(Discord.Events.ClientReady, () => {
console.log(`Logged in as ${client.user.tag}`);
client.user.setActivity("WWELCOME TO VAYU 247 MUSIC 🎶", {
type: Discord.ActivityType.Listening,
}); //You can change type to : LISTENING , COMPETING , PLAYING
updateActivity(); // Initial call to set the activity
setInterval(updateActivity, 4000); // Update the activity every 3 seconds
});

function updateActivity() {
const activities = [
"WWELCOME TO VAYU 247 RADIO STATION 📻",
"🎵 LISTENING TO MUSIC",
"🎵 LISTENING 24/7 VAYU RADIO",
"🔊 BROADCASTING NON-STOP TUNES",
"🎶 ALWAYS LIVE WITH MUSIC",
"📻 KEEPING THE BEATS ALIVE",
"🎧 JOIN US FOR CONTINUOUS MUSIC",
"🎙️ LIVE 24/7 WITH VAYU RADIO",
// Add more activities as needed
];

client.on(Discord.Events.MessageCreate, async (message) => {
if (!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).trim().split(" ");
Expand Down

0 comments on commit 8a8027c

Please sign in to comment.