# Can I deploy Discord bots to Vercel?

**Author:** Allen Hai

---

[Vercel](https://vercel.com/) is a platform focused on empowering developer workflows. [Vercel Functions](https://vercel.com/docs/functions) provide a light bridge to backend systems, but have limitations that prevent them from being a suitable solution for bots that require an _always running_ environment. Read on to learn more about why deploying a [Discord Bot](https://discord.com/developers/docs/intro#bots-and-apps) to Vercel is not recommended.

## Always Running Discord Bots

Discord Bots that require a server to be constantly listening and reacting to events will not work on Vercel since [Vercel Functions](https://vercel.com/docs/functions) have [execution duration limits](https://vercel.com/docs/functions/limitations#max-duration). You can consider alternative's like [Google Cloud Run](https://cloud.google.com/run/), [Fly](https://fly.io/), [Render](https://render.com/), or [Digital Ocean](https://www.digitalocean.com/) to host them instead.

## Webhooks API

Discord Apps that use Webhooks to respond quickly to an HTTP request and aren't invoked every second can be modelled effectively with Vercel Functions. It's important to keep in mind that these Functions will be executed in a restricted environment and can't be depended on for shared state or reliable disk access. Take a look at Discord's [documentation](https://discord.com/developers/docs/resources/webhook) for further details.

---

[View full KB sitemap](/kb/sitemap.md)
