stoat

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package stoat provides a lightning.Plugin implementation for Stoat. To use Stoat support with lightning, see New

bot := lightning.NewBot(lightning.BotOptions{
	// ...
}

bot.AddPluginType("stoat", stoat.New)

bot.UsePluginType("stoat", "", map[string]string{
	// ...
})

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg map[string]string) (lightning.Plugin, error)

New creates a new lightning.Plugin that provides Stoat support for Lightning

It only takes in a map with the following structure:

map[string]string{
	"token": "", // a string with your Stoat bot token
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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