internal

package
v0.0.0-...-4d126a4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

internal package starts the bot and manages the internals of it

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	// contains filtered or unexported fields
}

Bot contains the bot api and the communication channels with the bot

func NewBot

func NewBot(token string, inputTime string, timezone string) (Bot, error)

NewBot creates new bot with a valid bot api and communication channels

func (Bot) Start

func (bot Bot) Start()

Starts initialize the bot and start listening for new updates

Jump to

Keyboard shortcuts

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