Hi there,
Thanks for reaching out.
Your issue sounds similar to this post: Web App (Discord Bot) Deploy Keeps Failing?
I’m going to assume your bot on Heroku is using a “worker dyno” (not a “web dyno”). On Render, only Web Services (equivalent to a Heroku “web dyno”) are available on the free plan. Web Services expect (and check) the code is running a web server and is able to respond to HTTP web requests.
I’d expect you’d need a Background Worker (equivalent to a Heroku “worker dyno”) for the code you’re trying to run.
Alan
Alan