mirror of
https://github.com/maubot/maubot
synced 2025-08-30 05:20:38 +00:00
Move interfaces to maubot package and other stuff to app/
This commit is contained in:
parent
ef8fffaff8
commit
3a27831112
14 changed files with 329 additions and 198 deletions
|
@ -23,7 +23,7 @@ import (
|
|||
"syscall"
|
||||
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
"maubot.xyz"
|
||||
"maubot.xyz/app"
|
||||
"maubot.xyz/config"
|
||||
flag "maunium.net/go/mauflag"
|
||||
log "maunium.net/go/maulogger"
|
||||
|
@ -55,7 +55,7 @@ func main() {
|
|||
cfg.Logging.Configure(log.DefaultLogger)
|
||||
log.Debugln("Logger configured")
|
||||
|
||||
bot := maubot.New(cfg)
|
||||
bot := app.New(cfg)
|
||||
bot.Init()
|
||||
bot.Start()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue