plugins

package
v0.0.0-...-ae26d05 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecHandler

func ExecHandler(client *whatsmeow.Client, evt *events.Message)

ExecHandler processes shell and code execution commands

func Handle

func Handle(client *whatsmeow.Client, evt *events.Message)

Handle processes incoming messages and routes commands

func MenuHandler(client *whatsmeow.Client, evt *events.Message)

MenuHandler sends the menu image with formatted caption

func PingHandler

func PingHandler(client *whatsmeow.Client, evt *events.Message)

PingHandler uses the library function to send a quoted system specifications reply.

func RegisterCommand

func RegisterCommand(cmd string, handler CommandHandler)

RegisterCommand adds a command to the registry

func StickerHandler

func StickerHandler(client *whatsmeow.Client, evt *events.Message)

StickerHandler converts images to stickers

Types

type CommandHandler

type CommandHandler func(client *whatsmeow.Client, evt *events.Message)

Jump to

Keyboard shortcuts

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