Add cookie check

This commit is contained in:
itzaname 2023-10-27 13:19:31 -04:00
parent c034a2d8e7
commit 017f066224

View File

@ -60,6 +60,12 @@ func build() {
rbxcookie = strings.Replace(string(data), "\n", "", -1)
}
if rbxcookie == "" {
fmt.Printf("No roblox cookie provided\n")
os.Exit(1)
return
}
rbx, err := roblox.New(rbxcookie)
if err != nil {
fmt.Printf("Failed to start roblox api client: %s\n", err)