nhut lam
nhut lam
MIA🎶 Moonlink.js - Imagine a Music Application
Created by nhut lam on 8/10/2024 in #help
Can't see connection status and event in moonlink doesn't seem to work.
I think the problem is in the moonlink event, it doesn't catch any event that has been called =)))
12 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by nhut lam on 8/10/2024 in #help
Can't see connection status and event in moonlink doesn't seem to work.
already have
12 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by nhut lam on 8/10/2024 in #help
Can't see connection status and event in moonlink doesn't seem to work.
I have tried everything to solve this problem 😦
12 replies
MIA🎶 Moonlink.js - Imagine a Music Application
Created by nhut lam on 8/10/2024 in #help
Can't see connection status and event in moonlink doesn't seem to work.
const { ActivityType, Events } = require('discord.js');
const logger = require('~/utils/logger.js');

module.exports = {
name: Events.ClientReady,
execute: async (client) => {
client.moonlink.init(client.user.id);
console.log(client.moonlink);

logger.log(`${client.user.tag} is now online!`, 'client');
client.user.setPresence({
activities: [
{
name: 'Client Bot',
state: '/help | Bot',
type: ActivityType.Watching,
},
],
status: 'online',
});
},
};
const { ActivityType, Events } = require('discord.js');
const logger = require('~/utils/logger.js');

module.exports = {
name: Events.ClientReady,
execute: async (client) => {
client.moonlink.init(client.user.id);
console.log(client.moonlink);

logger.log(`${client.user.tag} is now online!`, 'client');
client.user.setPresence({
activities: [
{
name: 'Client Bot',
state: '/help | Bot',
type: ActivityType.Watching,
},
],
status: 'online',
});
},
};
I have initiated it but no response
12 replies