first commit
This commit is contained in:
10
events/ready/ready.js
Normal file
10
events/ready/ready.js
Normal file
@ -0,0 +1,10 @@
|
||||
const { Events, PresenceUpdateStatus } = require('discord.js')
|
||||
|
||||
module.exports = {
|
||||
name: Events.ClientReady,
|
||||
once: true,
|
||||
execute(client) {
|
||||
console.log(`Ready! Logged in as ${client.user.tag}`);
|
||||
client.user.setStatus(PresenceUpdateStatus.Online)
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user