discord.js login code

JavaScript
const Discord = require("discord.js")
const client = new Discord.Client()

client.login("YOUR_SECRET_DISCORD_BOT_TOKEN")
Source

Also in JavaScript: