quote

package
v0.0.0-...-25f99af Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package quote contains quote commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddQuoteCommand

func GetAddQuoteCommand() *core.Command

GetAddQuoteCommand returns a Command structure for the addquote command

func GetDailyQuoteCommand

func GetDailyQuoteCommand() *core.Command

GetDailyQuoteCommand returns a Command structure for the daily quote command

func GetQuoteCommand

func GetQuoteCommand() *core.Command

GetQuoteCommand returns a Command structure for the quote command

func GetQuoteFromAllCommand

func GetQuoteFromAllCommand() *core.Command

GetQuoteFromAllCommand returns a Command structure for the quote all command

func GetRmQuoteCommand

func GetRmQuoteCommand() *core.Command

GetRmQuoteCommand returns a Command structure for the remove quote command

func HandleMessages

func HandleMessages(event *irc.Event, callback func(*core.ReplyCallbackData))

HandleMessages is a message handler that stores the last messages by users

func Init

func Init(db *sql.DB, admins *[]string)

Init stores the database pointer and the administrators list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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