import "discord" bot = new Discord() bot.addListener("message", (msg) => { if (msg.content == "!hi") msg.reply("hello") }) bot.run("")