replaceTokens

Apply some common text replacements. Used on part and quit reasons. Overload that doesn't take an IRCClient and as such can't replace $nickname.

  1. auto replaceTokens(string line, IRCClient client)
  2. auto replaceTokens(string line)
    @safe pure nothrow
    replaceTokens
    (
    const string line
    )

Parameters

line string

String to replace tokens in.

Return Value

Type: auto

A modified string with token occurrences replaced.

Meta