My discord.js bot does no work but shows not error messages? please help!

please help me! iv’e been writing some code when just it stopped working but it had no error!!
project name is clickbot-discord

code:

var express = require(“express”);
var app = express();
app.get("/", (request, response) => {
response.sendStatus(200);
});

bot.login(process.env.token);
bot.on(“ready”, async () => {
console.log(“this bot is online”)
}

const Discord = require(“discord.js”);
const { Client, RichEmbed } = require(“discord.js”);
const bot = new Client();
app.listen(process.env.PORT);

Could you be more specific? And FYI you’re using a very old version of discord.js which will stop working in a couple months due to discord API changes.

don’t worry fixed! i replaced the bot with a different bot! with the same code and it fixed! thx anyway!