const statuses = [
{ name: "ABC", type: ActivityType.Streaming },
{ name: "DEF", type: ActivityType.Watching },
{ name: "GHI", type: ActivityType.Listening },
{ name: "JKL", type: ActivityType.Playing },
];
client.on('ready', (c) => {
console.log(`✅ ${c.user.tag} is online!`);
setInterval(() => {
var newStatus = statuses[Math.floor(Math.random() * statuses.length)];
client.user.setActivity(newStatus);
}, 10000);
});
const statuses = [
{ name: "ABC", type: ActivityType.Streaming },
{ name: "DEF", type: ActivityType.Watching },
{ name: "GHI", type: ActivityType.Listening },
{ name: "JKL", type: ActivityType.Playing },
];
client.on('ready', (c) => {
console.log(`✅ ${c.user.tag} is online!`);
setInterval(() => {
var newStatus = statuses[Math.floor(Math.random() * statuses.length)];
client.user.setActivity(newStatus);
}, 10000);
});