package hdlnick

import "github.com/hlandau/ircproto/egobot/hdlnick"

Package hdlnick provides a handler for maintaining an IRC bot's nickname.

Index

Variables

var _, Log = xlog.New("hdlnick")

Functions

func Info

func Info(cfg *Config) *ircregistry.HandlerInfo

Creates a new HandlerInfo which, when instantiated in ircregistry, uses the given Config to maintain the bot's nickname.

Types

type Config

type Config struct {
	PreferredNick string // Preferred nickname.
	Password      string // Services password.
	ServicesNick  string // Nickname services nickname. Defaults to "NickServ".
}

Configuration for the nickname module.

Source Files

hdlnick.go

Version
v0.0.0-20240529044229-f1af42e426cd (latest)
Published
May 29, 2024
Platform
linux/amd64
Imports
8 packages
Last checked
2 months ago

Tools for package owners.