helper

package
v0.0.0-...-c4d1d87 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChanMsg

func ChanMsg(client *gumble.Client, msg string)

ChanMsg sends supplied to the current mumble channel the bot is occupying

func DebugPrintln

func DebugPrintln(inter ...interface{})

func MsgDispatch

func MsgDispatch(client *gumble.Client, isPrivate bool, username string, msg string)

MsgDispatch will send to either UserMsg or ChanMsg depending on if message is private or not. For messages that will reply in PM (such as !list) if sent directly to bot

func SetComment

func SetComment(client *gumble.Client, comment string)

SetComment sets the comment for itself

func StripHTMLTags

func StripHTMLTags(str string) string

StripHTMLTags removes all html tags from string in order to be parsed easier

func UserMsg

func UserMsg(client *gumble.Client, username string, msg string)

UserMsg sends msg directly to user by username supplied

Types

This section is empty.

Jump to

Keyboard shortcuts

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