Skip to content
Dialova

IRC Documentation · Beginner

Command PART: Leave a channel without disconnecting

PART leaves a channel while maintaining the connection to the network. Other channels and private conversations can remain open. Your client's /part command sometimes accepts the current channel implicitly; the protocol, however, expects its target.

Dialova Team · Verified on

Syntax and Parameters #

Protocol syntax, without the client's '/'
PART <salon>{,<salon>} [:<raison>]
ParameterMeaning
channelOne or more channels currently joined.
ReasonOptional text transmitted with the departure; the colon allows spaces.

Commented Example #

IRC Exchange: C = client, S = server
C: PART #atelier :À bientôt
S: :Alice!alice@cloak.example PART #atelier :À bientôt

Nicknames, hosts, and text in this exchange are fictional. The client may display responses in a more readable format than the presented frames.

Possible Responses and Errors #

ResponseUnderstanding
PARTDeparture transmitted to concerned clients.
ErrorTypical Cause
403Channel does not exist.
442You are not a member of this channel.
461Missing required parameter.

Rights, Compatibility, and Precautions #

A reason for leaving may be visible to other members and saved in their logs. It is not intended to send confidential information.

Leaving a channel does not erase messages already received by others. A client or a bouncer configured with automatic rejoining can restore the channel later; this behavior belongs to that tool.

Frequently Asked Questions #

PART does it delete my account? No: it only leaves the specified channels.

What's the difference with QUIT? QUIT terminates the connection concerned to the network, while PART only targets the chosen channels.

Sources & Verification

Examples use pseudonyms and fictional domains, except for explicitly documented connection points. Network-specific extensions and settings are noted in the text.