© 2026 Hedgehog Software, LLC
// Attempt 1 (In ClientReady Handler) this.client.user.setPresence({ status: "online", activities: [ { name: "with discord.js", type: ActivityType.Playing, }, ], }); // Attempt 2 (Via Constructor) const client = new Client({ intents: [GatewayIntentBits.Guilds], presence: { activities: [ { type: ActivityType.Playing, name: "with discord.js" } ], status: "online" } });
Join the Discord to ask follow-up questions and connect with the community
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,666 Members