Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Server → Leave Server
AI-generatedSummary
Leave a Discord server by its ID.
Inputs
- serverId (required) — The ID of the server to leave.
Output shape
Leave server result object.
source confirms: {success: boolean, serverId: string, left: boolean}
Examples
Example 1: Leave a server given its ID.
serverId: '123456789' → bot leaves the server and returns success=true, serverId='123456789', left=true.