This guide is for telling you about changing bot’s information.
This will also give you a way on using ready event.
Here are the examples,
This is a list of status you can use,
online idle dnd invisible
No spell mistake or bot will crash.
Here are the other commands to change game, name and avatar.
client.user.setUsername("my new name")
client.user.setAvatar("new profile picture url")
And also an example of setGame command here,
client.user.setGame(message.content.split(" ").slice(1).join(" "))
This will make a command in which you have to say
!setgame nothing and bot’s game will change to nothing, you can change setGame with others to make other commands, hope you will enjoy.