kaguya v0.1.0 Kaguya.Module.Builtin

Core builtin functions necessary for the bot to be function. This module is always loaded into the bot.

Summary

Functions

Changes a user’s mode internally in a channel

Changes a user’s nick internally in a channel

Joins all channels initially specified in the configuration

Sends a PONG response to the PING command

Resends the nick command with an appended “_” if the NICK command fails

Adds users to a channel

Functions

changeUserMode(map)

Changes a user’s mode internally in a channel.

changeUserNick(map)

Changes a user’s nick internally in a channel.

handle_message(arg, state)
joinInitChans(message)

Joins all channels initially specified in the configuration

pingHandler(message)

Sends a PONG response to the PING command.

retryNick(map)

Resends the nick command with an appended “_” if the NICK command fails.

setChanNicks(map)

Adds users to a channel

start_link(opts \\ [])