discord.js-selfbot-v13/examples/SamsungRPC.js

18 lines
422 B
JavaScript
Raw Permalink Normal View History

2024-01-14 10:53:18 +00:00
const { Client } = require('../src/index');
const client = new Client();
client.on('ready', async () => {
client.user.setSamsungActivity('com.YostarJP.BlueArchive', 'START');
setTimeout(() => {
client.user.setSamsungActivity('com.miHoYo.bh3oversea', 'UPDATE');
}, 30_000);
setTimeout(() => {
client.user.setSamsungActivity('com.miHoYo.GenshinImpact', 'STOP');
}, 60_000);
});
client.login('token');