Initial Commit
This commit is contained in:
commit
6d2e379a0c
41 changed files with 5064 additions and 0 deletions
26
src/events/ready.js
Normal file
26
src/events/ready.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import { Events } from "discord.js";
|
||||
import { config } from "../config.js";
|
||||
import { showGameServers } from "../features/showGameServers.js";
|
||||
import { sendMessage } from "../features/sendMessage.js";
|
||||
import { isConnectedToVoiceChannel } from "../features/utilities.js";
|
||||
|
||||
const event = {
|
||||
name: Events.ClientReady,
|
||||
once: true,
|
||||
execute(client) {
|
||||
console.log(
|
||||
`[${new Date().toLocaleString()}] Logged in as ${client.user.tag}`
|
||||
);
|
||||
|
||||
showGameServers(
|
||||
client,
|
||||
config.textChannelId,
|
||||
config.gameServersMessageId,
|
||||
config.shinuwaUserId
|
||||
);
|
||||
|
||||
//sendMessage(client, 'jukebox')
|
||||
},
|
||||
};
|
||||
|
||||
export { event };
|
||||
Loading…
Add table
Add a link
Reference in a new issue