admin

package
v0.0.0-...-0d01ef4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: BSD-1-Clause Imports: 4 Imported by: 0

README

Admin

This plugin offers a rudimentary set of administrative commands for the bot.

Commands

  • quit: Unconditionally quits the bot,
  • join <channel> [<key> [<chanservpass>]]: Unconditionally makes the bot join the given channel. The channel key and ChanServ password are optional.
  • leave [<channel>]: Unconditionally makes the bot leave the given channel. The channel parameter is optional. When omitted, it refers to the channel from which the command was issued. If the command has no channel parameter and it was issued from outside a channel, the command is ignored.

Documentation

Overview

This plugin offers a rudimentary set of administrative commands for the bot.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(profile string) plugin.Plugin

Types

type Plugin

type Plugin struct {
	*plugin.Base
}

func (*Plugin) Load

func (p *Plugin) Load(c *proto.Client) (err error)

Jump to

Keyboard shortcuts

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