ah-helper-bot

command module
v0.0.0-...-2c15e9f Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 8 Imported by: 0

README

ah-helper-bot

helps to monitor AH delivery

user -> help user -> addme => bot: get chatId, postcode, save to db user -> removeme => bot: remove chatId, postcode from db

bot -> by trigger check available deliveries. If something is available, send a message


ah-bot internally has a channel with events.

telegram pushes an event from user telegram listens to new message event

pubsub pushes an event for scan pubsub listens to scan requests from external pubsub

ah-bot listens to events when ah-bot gets an help,addme, removeme events -> message when ah-bot gets an scan event -> message

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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