Initial commit

This commit is contained in:
Aynakeya
2022-06-21 13:02:22 -07:00
commit 9f75839ebc
161 changed files with 18766 additions and 0 deletions

23
app/cli/main.go Normal file
View File

@@ -0,0 +1,23 @@
package main
import (
"AynaLivePlayer/config"
"AynaLivePlayer/controller"
"AynaLivePlayer/logger"
"fmt"
"github.com/sirupsen/logrus"
)
func main() {
fmt.Printf("BiliAudioBot Revive %s\n", config.VERSION)
logger.Logger.SetLevel(logrus.DebugLevel)
fmt.Println("Please enter room id")
var roomid string
// Taking input from user
fmt.Scanln(&roomid)
controller.Initialize()
controller.SetDanmuClient(roomid)
ch := make(chan int)
<-ch
}