Needs refactoring.

This commit is contained in:
Benjamin A. Shelton 2026-10-14 15:36:41 -06:00
commit 76f65aac90
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -2,25 +2,23 @@ package app
import (
"context"
"os"
"github.com/mymmrac/telego"
th "github.com/mymmrac/telego/telegohandler"
"github.com/robfig/cron/v3"
"code.destrealm.net/zancarius/justusbot/internal/settings"
"go.destrealm.net/vfs"
)
type app struct {
ds *datastore
//ds *datastore
settings *settings.Settings
cron *cron.Cron
}
func NewApp(conf string) (*app, error) {
a := &app{}
/*a := &app{}
cwd, err := os.Getwd()
if err != nil {
return nil, err
@ -36,7 +34,8 @@ func NewApp(conf string) (*app, error) {
return nil, err
}
return a, nil
return a, nil*/
return nil, nil
}
func (a *app) Start() error {