create-discord-forge
Version:
A CLI made with Commander to create a Discord and easily add advanced features to your bot made with discord.js in TypeScript or JavaScript
13 lines (10 loc) • 334 B
JavaScript
const { Events } = require('discord.js');
module.exports = client => {
client.once(Events.ClientReady, readyClient => {
console.log(`Ready! Logged in as ${readyClient.user.tag}`);
client.user.setPresence({
activities: [{ name: 'Made with create-discord-forge CLI', type: 0 }],
status: 'online',
});
});
};