mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
Added updateDetails and setUsername
This commit is contained in:
@@ -11,6 +11,8 @@ client.on("message", m => {
|
||||
client.startTyping(m.channel);
|
||||
} else if (m.content === "!!") {
|
||||
client.stopTyping(m.channel);
|
||||
} else if (m.content === "changename") {
|
||||
client.setUsername("Hydrabot!");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user