Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Member → Ban Member
AI-generatedSummary
Ban a member from a Discord server using their member ID.
Inputs
- serverId (required) — The ID of the Discord server to ban the member from.
- memberId (required) — The ID of the member to ban.
- reason — The reason for the ban. Optional; defaults to empty string.
Output shape
object
Returns an array containing a single object with the ban result.