Kaguya v0.6.0 Kaguya.Module.Core

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

Link to this section Summary

Functions

Adds a user to a channel

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

Logs a PRIVMSG to a channel, or ignores it if it’s a PM

Sends a PONG response to the PING command

Remove a user from all channels

Removes a user from a channel

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

Adds users to a channel

Link to this section Functions

Link to this function addNickToChan(map, arg)

Adds a user to a channel

Link to this function changeUserMode(map, arg)

Changes a user’s mode internally in a channel.

Link to this function changeUserNick(map, arg)

Changes a user’s nick internally in a channel.

Link to this function helloHandler(arg, map)

says hello!

Link to this function joinInitChans(arg1, arg2)

Joins all channels initially specified in the configuration

Link to this function logMessage(map, arg)

Logs a PRIVMSG to a channel, or ignores it if it’s a PM.

Link to this function module_unload()
Link to this function on_message(msg)
Link to this function pingHandler(arg1, arg2)

Sends a PONG response to the PING command.

Link to this function removeNickFromAllChans(map, arg)

Remove a user from all channels.

Link to this function removeNickFromChan(map, arg)

Removes a user from a channel

Link to this function retryNick(map, arg)

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

Link to this function setChanNicks(map, arg)

Adds users to a channel

Link to this function start_link(opts \\ [])