Changeset 436 in code for trunk/doc


Ignore:
Timestamp:
Dec 14, 2020, 7:54:02 PM (4 years ago)
Author:
delthas
Message:

service: Introduce channel update

This adds the channel update service command, which is used to set the
auto-detach, auto-reattach, and message relaying settings of a channel.

Of note is that currently the parser parses # as a comment, which
means any channel update #foo ... will actually need to be escaped to
channel update "#foo" ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/soju.1.scd

    r426 r436  
    171171        Show a list of saved networks and their current status.
    172172
     173*channel update* <name> [options...]
     174        Update the options of an existing channel.
     175
     176        Options are:
     177
     178        *-relay-detached* <mode>
     179                Set when to relay messages from detached channels to the user with a BouncerServ NOTICE.
     180
     181                Modes are:
     182
     183                *message*
     184                        Relay any message from this channel when detached.
     185
     186                *highlight*
     187                        Relay only messages mentioning you when detached.
     188
     189                *none*
     190                        Don't relay any messages from this channel when detached.
     191
     192                *default*
     193                        Currently same as *highlight*. This is the default behaviour.
     194
     195        *-reattach-on* <mode>
     196                Set when to automatically reattach to detached channels.
     197
     198                Modes are:
     199
     200                *message*
     201                        Reattach to this channel when any message is received.
     202
     203                *highlight*
     204                        Reattach to this channel when any message mentioning you is received.
     205
     206                *none*
     207                        Never automatically reattach to this channel.
     208
     209                *default*
     210                        Currently same as *none*. This is the default behaviour.
     211
     212        *-detach-after* <duration>
     213                Automatically detach this channel after the specified duration has elapsed without receving any message corresponding to *-detach-on*.
     214
     215                Example duration values: *1h30m*, *30s*, *2.5h*.
     216
     217                Setting this value to 0 will disable this behaviour, i.e. this channel will never be automatically detached. This is the default behaviour.
     218
     219        *-detach-on* <mode>
     220                Set when to reset the auto-detach timer used by *-detach-after*, causing it to wait again for the auto-detach duration timer before detaching.
     221                Joining, reattaching, sending a message, or changing any channel option will reset the timer, in addition to the messages specified by the mode.
     222
     223                Modes are:
     224
     225                *message*
     226                        Receiving any message from this channel will reset the auto-detach timer.
     227
     228                *highlight*
     229                        Receiving any message mentioning you from this channel will reset the auto-detach timer.
     230
     231                *none*
     232                        Receiving messages from this channel will not reset the auto-detach timer. Sending messages or joining the channel will still reset the timer.
     233
     234                *default*
     235                        Currently same as *message*. This is the default behaviour.
     236
    173237*certfp generate* [options...] <network name>
    174238        Generate self-signed certificate and use it for authentication (via SASL
Note: See TracChangeset for help on using the changeset viewer.