gherkin

package
v0.0.0-...-df4b1b0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCommandMessage

func IsCommandMessage(e *irc.Event) bool

IsCommandMessage returns true if message e was a command said in a channel, eg !ping !quit

func IsPrivateMessage

func IsPrivateMessage(e *irc.Event) bool

IsPrivateMessage returns true if message e was private (ie not said in channel)

func IsPublicMessage

func IsPublicMessage(e *irc.Event) bool

IsPublicMessage returns true if message e is a chat message said in channel

func MakeHelpString

func MakeHelpString(p Plugin) string

MakeHelpString creates a printable line for displaying help

Types

type Plugin

type Plugin struct {
	Name    string
	Command string
	Help    string
	Version string
}

Jump to

Keyboard shortcuts

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