diff --git a/index.js b/index.js new file mode 100644 index 0000000..0d73a0b --- /dev/null +++ b/index.js @@ -0,0 +1,14 @@ +// Require the necessary discord.js classes +const { Client, Intents } = require('discord.js'); +const { token } = require('./config.json'); + +// Create a new client instance +const client = new Client({ intents: [Intents.FLAGS.GUILDS] }); + +// When the client is ready, run this code (only once) +client.once('ready', () => { + console.log('Ready!'); +}); + +// Login to Discord with your client's token +client.login(token); \ No newline at end of file