const DiscordJS = require('discord.js'); const client = new DiscordJS.Client(); client.once('ready', () => { //client.once used to "if... happen do that" console.log('Example') });