Discord.js: setActivity command

Created on 12 Mar 2018  Â·  4Comments  Â·  Source: discordjs/discord.js

I want my to set my bot's game(activity) by a setgame command how can i do that

question (please use Discord instead)

Most helpful comment

\

All 4 comments

The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the Discord server instead of opening an issue – you will get redirected there anyway.

\

client.on("ready", () => { console.log (Bot Online) client.user.setActivity("your activity") });

@matdesu

client.on("ready", () => { 
console.log(`Bot Online`) 
client.user.setActivity("your activity") 
});
Was this page helpful?
0 / 5 - 0 ratings

Related issues

tom-barnes picture tom-barnes  Â·  3Comments

shukriadams picture shukriadams  Â·  3Comments

DatMayo picture DatMayo  Â·  3Comments

xCuzImPro picture xCuzImPro  Â·  3Comments

kvn1351 picture kvn1351  Â·  3Comments