smbot

package
v0.0.0-...-558fac8 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NewItem     = "We are very excited to let you know that we are introducing a new %s in the menu, '''%s'''."
	RemoveItem  = "We are sorry to let you know that we are removing '''%s''' from the menu"
	InfoChanges = "PLEASE NOTE!!!: There is an update on our location and hours of operation. \n Location : %s, Hours : %s"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SmBot

type SmBot struct {
	TwitterClient *twitter.Client
}

func InitBot

func InitBot() *SmBot

func (*SmBot) ProcessCE

func (bot *SmBot) ProcessCE(ctx context.Context, event cloudevents.Event)

CloudEventReceived handles the cloud event post

Jump to

Keyboard shortcuts

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