Documentation ¶
Index ¶
- Constants
- Variables
- func GetBuffView(g *gocui.Gui) (string, error)
- func GetConfig() (string, string, string, string, string)
- func Layout(g *gocui.Gui) error
- func Quit(g *gocui.Gui, v *gocui.View) error
- func SendMessage(b *Bot, msg string)
- func SetView(g *gocui.Gui, name string) (*gocui.View, error)
- func SpamLine(c string, times int) string
- func UpdateChat(g *gocui.Gui, msg string)
- func UpdateView(g *gocui.Gui, v *gocui.View) error
- type Bot
- type Config
Constants ¶
View Source
const (
VERSION = "0.2.2"
)
Variables ¶
View Source
var ( // Global variable Tbot = NewBot() Name, Server, Api_key, Channel, Port = GetConfig() )
This will need to be re-written when we'll support multiple channel connections i guess :p
Functions ¶
func SendMessage ¶
func UpdateChat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.