Host issue? My code prints no errors?


Host issue?? My code prints no errors?? My code prints no errors I have 2 listeners and I cant think of any other reason that my code would not run altogether other than there is an issue with the service. My project name is discord-bot-host
and here is a link to the project if u can spot any errors

Thank you


First of all, You should put your important and secret credentials in .env and for now make sure you reset the bot’s token.
And also the main issue your bot wants starting is, you were putting the login function inside the message event handler.!/tundra-match
Is the fixed version of your code (with token being used from env).

And also I added a watch.json file so that your bot wont restart even when you make a small changes to your code.