> For the complete documentation index, see [llms.txt](https://docs.flexy.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexy.bot/modules/discord/steps/leave-guild.md).

# Leave guild

**Introduction**

The "Leave Guild" step allows the bot to leave a specified Discord guild/server. This step is useful for managing the bot's presence in servers.

**Configuration**

* **Connection**: Specifies the Discord bot connection to use. This parameter is required.
* **Guild**: Specifies the Discord guild that the bot should leave. This parameter is required.
