nohl

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package nohl implements methods to avoid highlighting nicks on a channel.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nick

func Nick(b bot.Bot, channel, nick string) string

Nick sanitizes a nick if it is present on the channel, otherwise unchanged.

func String

func String(b bot.Bot, channel, s string) string

String sanitizes words in string in case any is a nick present on the channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL