opensource-force / ircd

A minimal IRC server
17 stars 1 forks source link

Feature: Topic 4.2.4 #25

Open DitchTurtL opened 11 months ago

DitchTurtL commented 11 months ago
  Command: TOPIC

Parameters: []

The TOPIC message is used to change or view the topic of a channel. The topic for channel is returned if there is no given. If the parameter is present, the topic for that channel will be changed, if the channel modes permit this action.

Numeric Replies:

       ERR_NEEDMOREPARAMS              ERR_NOTONCHANNEL
       RPL_NOTOPIC                     RPL_TOPIC
       ERR_CHANOPRIVSNEEDED
DitchTurtL commented 11 months ago

Examples:

:Wiz TOPIC #test :New topic ;User Wiz setting the topic.

TOPIC #test :another topic ;set the topic on #test to "another topic".

TOPIC #test ; check the topic for #test.

wick3dr0se commented 11 months ago

Examples:

:Wiz TOPIC #test :New topic ;User Wiz setting the topic.

TOPIC #test :another topic ;set the topic on #test to "another topic".

TOPIC #test ; check the topic for #test.

These should be functional with #33!

Still need numeric replies