codebydante commited on
Commit
c72dd6e
·
verified ·
1 Parent(s): dce2806

Upload 111 files

Browse files
fsb.session CHANGED
Binary files a/fsb.session and b/fsb.session differ
 
internal/bot/workers.go CHANGED
@@ -72,6 +72,15 @@ func (w *BotWorkers) incStarting() {
72
  }
73
 
74
  func (w *BotWorkers) Add(token string) (err error) {
 
 
 
 
 
 
 
 
 
75
  w.incStarting()
76
  var botID int = w.starting
77
  client, err := startWorker(w.log, token, botID)
@@ -169,24 +178,43 @@ func (w *BotWorkers) GetWorkerListText(onlyDynamic bool) string {
169
  w.mut.Lock()
170
  defer w.mut.Unlock()
171
 
172
- // Separate dynamic vs default
173
  var dynamicBots []*Worker
 
 
 
 
 
 
174
  for _, b := range w.Bots {
175
- if b.Token != config.ValueOf.BotToken {
 
 
 
 
 
176
  dynamicBots = append(dynamicBots, b)
177
  }
178
  }
179
 
180
- if len(dynamicBots) == 0 {
181
- return "ℹ️ No hay tokens agregados dinámicamente en la base de datos."
 
 
 
 
182
  }
183
 
184
- var sb strings.Builder
185
- sb.WriteString(fmt.Sprintf("📋 **Lista de %d Tokens Dinámicos:**\n\n", len(dynamicBots)))
186
- for i, b := range dynamicBots {
187
- sb.WriteString(fmt.Sprintf("%d️⃣ @%s\n`%s`\n\n", i+1, b.Self.Username, b.Token))
 
 
 
188
  }
189
- return sb.String()
 
190
  }
191
 
192
  func startWorker(l *zap.Logger, botToken string, index int) (*gotgproto.Client, error) {
@@ -194,7 +222,13 @@ func startWorker(l *zap.Logger, botToken string, index int) (*gotgproto.Client,
194
  log.Infof("Starting worker with index - %d", index)
195
  var sessionType sessionMaker.SessionConstructor
196
  if config.ValueOf.UseSessionFile {
197
- sessionType = sessionMaker.SqlSession(sqlite.Open(fmt.Sprintf("sessions/worker-%d.session", index)))
 
 
 
 
 
 
198
  } else {
199
  sessionType = sessionMaker.SimpleSession()
200
  }
@@ -233,7 +267,14 @@ func (w *BotWorkers) SaveTokenToFirebase(token string) error {
233
  }
234
  defer client.Close()
235
 
236
- // Use the token string as the document ID if possible, or just add it
 
 
 
 
 
 
 
237
  docRef := client.Collection("brody_tokens").NewDoc()
238
  _, err = docRef.Set(ctx, map[string]interface{}{
239
  "token": token,
@@ -272,9 +313,16 @@ func (w *BotWorkers) LoadTokensFromFirebase() ([]string, error) {
272
  }
273
 
274
  var tokens []string
 
275
  for _, doc := range docs {
276
  if t, ok := doc.Data()["token"].(string); ok && t != "" {
277
- tokens = append(tokens, t)
 
 
 
 
 
 
278
  }
279
  }
280
  w.log.Sugar().Infof("Successfully loaded %d dynamic tokens from Firebase", len(tokens))
 
72
  }
73
 
74
  func (w *BotWorkers) Add(token string) (err error) {
75
+ w.mut.Lock()
76
+ for _, b := range w.Bots {
77
+ if b.Token == token {
78
+ w.mut.Unlock()
79
+ return fmt.Errorf("el token ya existe en la lista de workers")
80
+ }
81
+ }
82
+ w.mut.Unlock()
83
+
84
  w.incStarting()
85
  var botID int = w.starting
86
  client, err := startWorker(w.log, token, botID)
 
178
  w.mut.Lock()
179
  defer w.mut.Unlock()
180
 
181
+ var envBots []*Worker
182
  var dynamicBots []*Worker
183
+
184
+ envTokensMap := make(map[string]bool)
185
+ for _, t := range config.ValueOf.MultiTokens {
186
+ envTokensMap[t] = true
187
+ }
188
+
189
  for _, b := range w.Bots {
190
+ if b.Token == config.ValueOf.BotToken {
191
+ continue
192
+ }
193
+ if envTokensMap[b.Token] {
194
+ envBots = append(envBots, b)
195
+ } else {
196
  dynamicBots = append(dynamicBots, b)
197
  }
198
  }
199
 
200
+ var sb strings.Builder
201
+ if len(envBots) > 0 {
202
+ sb.WriteString(fmt.Sprintf("⚙️ **Lista de %d Tokens Estáticos (.env):**\n\n", len(envBots)))
203
+ for i, b := range envBots {
204
+ sb.WriteString(fmt.Sprintf("%d️⃣ @%s\n`%s`\n\n", i+1, b.Self.Username, b.Token))
205
+ }
206
  }
207
 
208
+ if len(dynamicBots) > 0 {
209
+ sb.WriteString(fmt.Sprintf("📋 **Lista de %d Tokens Dinámicos (Firebase):**\n\n", len(dynamicBots)))
210
+ for i, b := range dynamicBots {
211
+ sb.WriteString(fmt.Sprintf("%d️⃣ @%s\n`%s`\n\n", i+1, b.Self.Username, b.Token))
212
+ }
213
+ } else if len(envBots) == 0 {
214
+ return "ℹ️ No hay tokens adicionales configurados (ni dinámicos ni estáticos)."
215
  }
216
+
217
+ return strings.TrimSpace(sb.String())
218
  }
219
 
220
  func startWorker(l *zap.Logger, botToken string, index int) (*gotgproto.Client, error) {
 
222
  log.Infof("Starting worker with index - %d", index)
223
  var sessionType sessionMaker.SessionConstructor
224
  if config.ValueOf.UseSessionFile {
225
+ // Use the Bot ID (first part of token) as the session filename
226
+ // This prevents sessions from shuffling if order changes, which causes wrong usernames.
227
+ sessionID := fmt.Sprintf("%d", index)
228
+ if parts := strings.Split(botToken, ":"); len(parts) == 2 {
229
+ sessionID = parts[0]
230
+ }
231
+ sessionType = sessionMaker.SqlSession(sqlite.Open(fmt.Sprintf("sessions/worker-%s.session", sessionID)))
232
  } else {
233
  sessionType = sessionMaker.SimpleSession()
234
  }
 
267
  }
268
  defer client.Close()
269
 
270
+ // Check if token already exists to avoid duplication
271
+ iter := client.Collection("brody_tokens").Where("token", "==", token).Documents(ctx)
272
+ docs, err := iter.GetAll()
273
+ if err == nil && len(docs) > 0 {
274
+ return fmt.Errorf("el token ya existe en la base de datos de Firebase")
275
+ }
276
+
277
+ // Use a new document ID
278
  docRef := client.Collection("brody_tokens").NewDoc()
279
  _, err = docRef.Set(ctx, map[string]interface{}{
280
  "token": token,
 
313
  }
314
 
315
  var tokens []string
316
+ seen := make(map[string]bool)
317
  for _, doc := range docs {
318
  if t, ok := doc.Data()["token"].(string); ok && t != "" {
319
+ if !seen[t] {
320
+ tokens = append(tokens, t)
321
+ seen[t] = true
322
+ } else {
323
+ // Remove duplicated keys from firestore automatically
324
+ doc.Ref.Delete(ctx)
325
+ }
326
  }
327
  }
328
  w.log.Sugar().Infof("Successfully loaded %d dynamic tokens from Firebase", len(tokens))
logs/app.log CHANGED
@@ -1094,3 +1094,131 @@
1094
  {"level":"info","ts":"2026-03-19T14:45:53.726-0500","logger":"Main","msg":"Server started","port":7860}
1095
  {"level":"info","ts":"2026-03-19T14:45:53.728-0500","logger":"Main","msg":"File Stream Bot","version":"3.2.0"}
1096
  {"level":"info","ts":"2026-03-19T14:45:53.729-0500","logger":"Main","msg":"Server is running at http://192.168.1.40:7860"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1094
  {"level":"info","ts":"2026-03-19T14:45:53.726-0500","logger":"Main","msg":"Server started","port":7860}
1095
  {"level":"info","ts":"2026-03-19T14:45:53.728-0500","logger":"Main","msg":"File Stream Bot","version":"3.2.0"}
1096
  {"level":"info","ts":"2026-03-19T14:45:53.729-0500","logger":"Main","msg":"Server is running at http://192.168.1.40:7860"}
1097
+ {"level":"info","ts":"2026-03-19T14:48:22.551-0500","logger":"Config","msg":"Trying to load ENV vars from fsb.env"}
1098
+ {"level":"info","ts":"2026-03-19T14:48:22.578-0500","logger":"Config","msg":"HOST not set, automatically set to http://192.168.1.40:7860"}
1099
+ {"level":"info","ts":"2026-03-19T14:48:22.578-0500","logger":"Config","msg":"Loaded config"}
1100
+ {"level":"info","ts":"2026-03-19T14:48:22.578-0500","logger":"Main","msg":"Starting server"}
1101
+ {"level":"info","ts":"2026-03-19T14:48:22.578-0500","logger":"routes.Stream","msg":"Loaded stream route"}
1102
+ {"level":"info","ts":"2026-03-19T14:48:22.578-0500","logger":"routes","msg":"Loaded all API Routes"}
1103
+ {"level":"info","ts":"2026-03-19T14:48:22.900-0500","logger":"commands.start","msg":"Loaded"}
1104
+ {"level":"info","ts":"2026-03-19T14:48:22.900-0500","logger":"commands.start","msg":"Loaded"}
1105
+ {"level":"info","ts":"2026-03-19T14:48:22.901-0500","logger":"commands","msg":"Initialized all command handlers"}
1106
+ {"level":"info","ts":"2026-03-19T14:48:23.636-0500","msg":"Client started","username":"BrodyFileStreamBot"}
1107
+ {"level":"info","ts":"2026-03-19T14:48:23.638-0500","logger":"cache","msg":"Initialized"}
1108
+ {"level":"info","ts":"2026-03-19T14:48:23.638-0500","logger":"Workers","msg":"Loading tokens from Firebase Firestore..."}
1109
+ {"level":"info","ts":"2026-03-19T14:48:25.128-0500","logger":"Workers","msg":"Successfully loaded 1 dynamic tokens from Firebase"}
1110
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers","msg":"Starting workers"}
1111
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers","msg":"Using session file for workers"}
1112
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 1"}
1113
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 10"}
1114
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 3"}
1115
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 5"}
1116
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 6"}
1117
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 4"}
1118
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 7"}
1119
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 9"}
1120
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 8"}
1121
+ {"level":"info","ts":"2026-03-19T14:48:25.129-0500","logger":"Workers.Worker","msg":"Starting worker with index - 2"}
1122
+ {"level":"info","ts":"2026-03-19T14:48:25.451-0500","logger":"Workers","msg":"Bot @BrodyFileStream3Bot loaded with ID 5"}
1123
+ {"level":"info","ts":"2026-03-19T14:48:25.452-0500","logger":"Workers","msg":"Bot @BrodyFileStream8Bot loaded with ID 8"}
1124
+ {"level":"info","ts":"2026-03-19T14:48:25.452-0500","logger":"Workers","msg":"Bot @BrodyFileStream3Bot loaded with ID 3"}
1125
+ {"level":"info","ts":"2026-03-19T14:48:25.452-0500","logger":"Workers","msg":"Bot @BrodyFileStream6Bot loaded with ID 9"}
1126
+ {"level":"info","ts":"2026-03-19T14:48:25.454-0500","logger":"Workers","msg":"Bot @BrodyFileStream9Bot loaded with ID 7"}
1127
+ {"level":"info","ts":"2026-03-19T14:48:25.455-0500","logger":"Workers","msg":"Bot @BrodyFileStream4Bot loaded with ID 6"}
1128
+ {"level":"info","ts":"2026-03-19T14:48:25.459-0500","logger":"Workers","msg":"Bot @BrodyFileStream9Bot loaded with ID 10"}
1129
+ {"level":"info","ts":"2026-03-19T14:48:25.462-0500","logger":"Workers","msg":"Bot @BrodyFileStream2Bot loaded with ID 2"}
1130
+ {"level":"info","ts":"2026-03-19T14:48:25.474-0500","logger":"Workers","msg":"Bot @BrodyFileStream5Bot loaded with ID 1"}
1131
+ {"level":"info","ts":"2026-03-19T14:48:25.511-0500","logger":"Workers","msg":"Bot @BrodyFileStream4Bot loaded with ID 4"}
1132
+ {"level":"info","ts":"2026-03-19T14:48:25.511-0500","logger":"Workers","msg":"Successfully started 10/10 bots"}
1133
+ {"level":"info","ts":"2026-03-19T14:48:25.516-0500","logger":"Workers","msg":"Default bot loaded"}
1134
+ {"level":"warn","ts":"2026-03-19T14:48:25.517-0500","logger":"USERBOT","msg":"User session is empty"}
1135
+ {"level":"info","ts":"2026-03-19T14:48:25.518-0500","logger":"Main","msg":"Server started","port":7860}
1136
+ {"level":"info","ts":"2026-03-19T14:48:25.518-0500","logger":"Main","msg":"File Stream Bot","version":"3.2.0"}
1137
+ {"level":"info","ts":"2026-03-19T14:48:25.518-0500","logger":"Main","msg":"Server is running at http://192.168.1.40:7860"}
1138
+ {"level":"info","ts":"2026-03-19T14:48:29.091-0500","logger":"commands","msg":"Add token mode activated"}
1139
+ {"level":"info","ts":"2026-03-19T14:48:30.386-0500","logger":"commands","msg":"Received a new bot token: 8707468210:AAHf_KXPUBbPUSZWoLV0BP3kDe5YHRTVF58"}
1140
+ {"level":"info","ts":"2026-03-19T14:48:31.637-0500","logger":"Workers.Worker","msg":"Starting worker with index - 12"}
1141
+ {"level":"info","ts":"2026-03-19T14:48:37.053-0500","logger":"Workers","msg":"Bot @BrodyFileStream11Bot loaded with ID 12"}
1142
+ {"level":"info","ts":"2026-03-19T14:54:58.734-0500","logger":"Config","msg":"Trying to load ENV vars from fsb.env"}
1143
+ {"level":"info","ts":"2026-03-19T14:54:58.765-0500","logger":"Config","msg":"HOST not set, automatically set to http://192.168.1.40:7860"}
1144
+ {"level":"info","ts":"2026-03-19T14:54:58.765-0500","logger":"Config","msg":"Loaded config"}
1145
+ {"level":"info","ts":"2026-03-19T14:54:58.765-0500","logger":"Main","msg":"Starting server"}
1146
+ {"level":"info","ts":"2026-03-19T14:54:58.766-0500","logger":"routes.Stream","msg":"Loaded stream route"}
1147
+ {"level":"info","ts":"2026-03-19T14:54:58.766-0500","logger":"routes","msg":"Loaded all API Routes"}
1148
+ {"level":"info","ts":"2026-03-19T14:54:59.083-0500","logger":"commands.start","msg":"Loaded"}
1149
+ {"level":"info","ts":"2026-03-19T14:54:59.084-0500","logger":"commands.start","msg":"Loaded"}
1150
+ {"level":"info","ts":"2026-03-19T14:54:59.084-0500","logger":"commands","msg":"Initialized all command handlers"}
1151
+ {"level":"info","ts":"2026-03-19T14:54:59.836-0500","msg":"Client started","username":"BrodyFileStreamBot"}
1152
+ {"level":"info","ts":"2026-03-19T14:54:59.839-0500","logger":"cache","msg":"Initialized"}
1153
+ {"level":"info","ts":"2026-03-19T14:54:59.839-0500","logger":"Workers","msg":"Loading tokens from Firebase Firestore..."}
1154
+ {"level":"info","ts":"2026-03-19T14:55:01.716-0500","logger":"Workers","msg":"Successfully loaded 1 dynamic tokens from Firebase"}
1155
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers","msg":"Starting workers"}
1156
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers","msg":"Using session file for workers"}
1157
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 1"}
1158
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 2"}
1159
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 3"}
1160
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 4"}
1161
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 5"}
1162
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 6"}
1163
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 7"}
1164
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 9"}
1165
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 8"}
1166
+ {"level":"info","ts":"2026-03-19T14:55:01.717-0500","logger":"Workers.Worker","msg":"Starting worker with index - 10"}
1167
+ {"level":"info","ts":"2026-03-19T14:55:02.058-0500","logger":"Workers","msg":"Bot @BrodyFileStream5Bot loaded with ID 1"}
1168
+ {"level":"info","ts":"2026-03-19T14:55:02.058-0500","logger":"Workers","msg":"Bot @BrodyFileStream9Bot loaded with ID 10"}
1169
+ {"level":"info","ts":"2026-03-19T14:55:02.061-0500","logger":"Workers","msg":"Bot @BrodyFileStream6Bot loaded with ID 9"}
1170
+ {"level":"info","ts":"2026-03-19T14:55:02.061-0500","logger":"Workers","msg":"Bot @BrodyFileStream3Bot loaded with ID 3"}
1171
+ {"level":"info","ts":"2026-03-19T14:55:02.064-0500","logger":"Workers","msg":"Bot @BrodyFileStream4Bot loaded with ID 6"}
1172
+ {"level":"info","ts":"2026-03-19T14:55:02.064-0500","logger":"Workers","msg":"Bot @BrodyFileStream4Bot loaded with ID 4"}
1173
+ {"level":"info","ts":"2026-03-19T14:55:02.067-0500","logger":"Workers","msg":"Bot @BrodyFileStream3Bot loaded with ID 5"}
1174
+ {"level":"info","ts":"2026-03-19T14:55:02.067-0500","logger":"Workers","msg":"Bot @BrodyFileStream8Bot loaded with ID 8"}
1175
+ {"level":"info","ts":"2026-03-19T14:55:02.067-0500","logger":"Workers","msg":"Bot @BrodyFileStream2Bot loaded with ID 2"}
1176
+ {"level":"info","ts":"2026-03-19T14:55:02.070-0500","logger":"Workers","msg":"Bot @BrodyFileStream9Bot loaded with ID 7"}
1177
+ {"level":"info","ts":"2026-03-19T14:55:02.070-0500","logger":"Workers","msg":"Successfully started 10/10 bots"}
1178
+ {"level":"info","ts":"2026-03-19T14:55:02.071-0500","logger":"Workers","msg":"Default bot loaded"}
1179
+ {"level":"warn","ts":"2026-03-19T14:55:02.071-0500","logger":"USERBOT","msg":"User session is empty"}
1180
+ {"level":"info","ts":"2026-03-19T14:55:02.072-0500","logger":"Main","msg":"Server started","port":7860}
1181
+ {"level":"info","ts":"2026-03-19T14:55:02.072-0500","logger":"Main","msg":"File Stream Bot","version":"3.2.0"}
1182
+ {"level":"info","ts":"2026-03-19T14:55:02.073-0500","logger":"Main","msg":"Server is running at http://192.168.1.40:7860"}
1183
+ {"level":"info","ts":"2026-03-19T14:58:41.915-0500","logger":"commands","msg":"Add token mode deactivated"}
1184
+ {"level":"info","ts":"2026-03-19T15:01:15.884-0500","logger":"Config","msg":"Trying to load ENV vars from fsb.env"}
1185
+ {"level":"info","ts":"2026-03-19T15:01:15.923-0500","logger":"Config","msg":"HOST not set, automatically set to http://192.168.1.40:7860"}
1186
+ {"level":"info","ts":"2026-03-19T15:01:15.923-0500","logger":"Config","msg":"Loaded config"}
1187
+ {"level":"info","ts":"2026-03-19T15:01:15.923-0500","logger":"Main","msg":"Starting server"}
1188
+ {"level":"info","ts":"2026-03-19T15:01:15.924-0500","logger":"routes.Stream","msg":"Loaded stream route"}
1189
+ {"level":"info","ts":"2026-03-19T15:01:15.924-0500","logger":"routes","msg":"Loaded all API Routes"}
1190
+ {"level":"info","ts":"2026-03-19T15:01:16.249-0500","logger":"commands.start","msg":"Loaded"}
1191
+ {"level":"info","ts":"2026-03-19T15:01:16.249-0500","logger":"commands.start","msg":"Loaded"}
1192
+ {"level":"info","ts":"2026-03-19T15:01:16.249-0500","logger":"commands","msg":"Initialized all command handlers"}
1193
+ {"level":"info","ts":"2026-03-19T15:01:16.970-0500","msg":"Client started","username":"BrodyFileStreamBot"}
1194
+ {"level":"info","ts":"2026-03-19T15:01:16.972-0500","logger":"cache","msg":"Initialized"}
1195
+ {"level":"info","ts":"2026-03-19T15:01:16.973-0500","logger":"Workers","msg":"Loading tokens from Firebase Firestore..."}
1196
+ {"level":"info","ts":"2026-03-19T15:01:18.292-0500","logger":"Workers","msg":"Successfully loaded 1 dynamic tokens from Firebase"}
1197
+ {"level":"info","ts":"2026-03-19T15:01:18.293-0500","logger":"Workers","msg":"Starting workers"}
1198
+ {"level":"info","ts":"2026-03-19T15:01:18.293-0500","logger":"Workers","msg":"Using session file for workers"}
1199
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 1"}
1200
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 2"}
1201
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 3"}
1202
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 4"}
1203
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 5"}
1204
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 6"}
1205
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 7"}
1206
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 8"}
1207
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 9"}
1208
+ {"level":"info","ts":"2026-03-19T15:01:18.294-0500","logger":"Workers.Worker","msg":"Starting worker with index - 10"}
1209
+ {"level":"info","ts":"2026-03-19T15:01:24.780-0500","logger":"Workers","msg":"Bot @BrodyFileStream2Bot loaded with ID 3"}
1210
+ {"level":"info","ts":"2026-03-19T15:01:25.399-0500","logger":"Workers","msg":"Bot @BrodyFileStream4Bot loaded with ID 5"}
1211
+ {"level":"info","ts":"2026-03-19T15:01:25.858-0500","logger":"Workers","msg":"Bot @BrodyFileStream8Bot loaded with ID 7"}
1212
+ {"level":"info","ts":"2026-03-19T15:01:25.898-0500","logger":"Workers","msg":"Bot @BrodyFileStream9Bot loaded with ID 9"}
1213
+ {"level":"info","ts":"2026-03-19T15:01:26.052-0500","logger":"Workers","msg":"Bot @BrodyFileStream7Bot loaded with ID 8"}
1214
+ {"level":"info","ts":"2026-03-19T15:01:26.129-0500","logger":"Workers","msg":"Bot @BrodyFileStream10Bot loaded with ID 10"}
1215
+ {"level":"info","ts":"2026-03-19T15:01:26.186-0500","logger":"Workers","msg":"Bot @BrodyFileStream5Bot loaded with ID 6"}
1216
+ {"level":"info","ts":"2026-03-19T15:01:26.262-0500","logger":"Workers","msg":"Bot @BrodyFileStream3Bot loaded with ID 4"}
1217
+ {"level":"info","ts":"2026-03-19T15:01:26.465-0500","logger":"Workers","msg":"Bot @BrodyFileStream11Bot loaded with ID 1"}
1218
+ {"level":"info","ts":"2026-03-19T15:01:27.197-0500","logger":"Workers","msg":"Bot @BrodyFileStream6Bot loaded with ID 2"}
1219
+ {"level":"info","ts":"2026-03-19T15:01:27.198-0500","logger":"Workers","msg":"Successfully started 10/10 bots"}
1220
+ {"level":"info","ts":"2026-03-19T15:01:27.206-0500","logger":"Workers","msg":"Default bot loaded"}
1221
+ {"level":"warn","ts":"2026-03-19T15:01:27.206-0500","logger":"USERBOT","msg":"User session is empty"}
1222
+ {"level":"info","ts":"2026-03-19T15:01:27.208-0500","logger":"Main","msg":"Server started","port":7860}
1223
+ {"level":"info","ts":"2026-03-19T15:01:27.208-0500","logger":"Main","msg":"File Stream Bot","version":"3.2.0"}
1224
+ {"level":"info","ts":"2026-03-19T15:01:27.208-0500","logger":"Main","msg":"Server is running at http://192.168.1.40:7860"}
sessions/worker-8351384724.session ADDED
Binary file (20.5 kB). View file
 
sessions/worker-8494492850.session ADDED
Binary file (24.6 kB). View file
 
sessions/worker-8610183721.session ADDED
Binary file (24.6 kB). View file
 
sessions/worker-8672752909.session ADDED
Binary file (24.6 kB). View file
 
sessions/worker-8688814148.session ADDED
Binary file (24.6 kB). View file
 
sessions/worker-8707468210.session ADDED
Binary file (24.6 kB). View file
 
sessions/worker-8710408202.session ADDED
Binary file (24.6 kB). View file
 
sessions/worker-8721328807.session ADDED
Binary file (24.6 kB). View file
 
sessions/worker-8735857251.session ADDED
Binary file (20.5 kB). View file
 
sessions/worker-8739944102.session ADDED
Binary file (24.6 kB). View file