discord js set reference before sending message code example Example: send a message using discord.js message.channel.send("test")