echo

package
v0.0.0-...-3ba3d46 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package echo implements a Service which echoes back !commands.

Index

Constants

View Source
const ServiceType = "echo"

ServiceType of the Echo service

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	types.DefaultService
}

Service represents the Echo service. It has no Config fields.

func (*Service) Commands

func (e *Service) Commands(cli types.MatrixClient) []types.Command

Commands supported:

!echo some message

Responds with a notice of "some message".

Jump to

Keyboard shortcuts

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