updated status changing

it should work now. i tested this so many times
This commit is contained in:
Joseph 2021-05-10 23:50:37 -04:00 committed by GitHub
parent 714193fea6
commit d984fd0ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -1,13 +1,14 @@
module.exports = async (client) => { module.exports = async (client) => {
client.Ready = true, client.Ready = true,
client.user.setPresence({ client.user.setPresence({
activity: { status: "online", // You can show online, idle, and dnd
name: 'Music', // The message shown activity: {
type: 'LISTENING', // PLAYING, WATCHING, LISTENING, STREAMING name: "Music", // The message shown
}, type: "LISTENING", // PLAYING, WATCHING, LISTENING, STREAMING,
status: 'online' // You can show online, idle, dnd(Do Not Disturb) }
}) });
client.Manager.init(client.user.id); client.Manager.init(client.user.id);
client.log("Successfully Logged in as " + client.user.tag); // You can change the text if you want, but DO NOT REMOVE "client.user.tag" client.log("Successfully Logged in as " + client.user.tag); // You can change the text if you want, but DO NOT REMOVE "client.user.tag"
client.RegisterSlashCommands(); client.RegisterSlashCommands();
}; };