Enha: filter out some words
This commit is contained in:
		| @@ -301,7 +301,10 @@ func recoverBots() { | ||||
| } | ||||
|  | ||||
| func recoverBot(bm map[string]string) error { | ||||
| 	// TODO: check if room still exists | ||||
| 	// check if room still exists | ||||
| 	if _, err := getRoomByID(bm["room_id"]); err != nil { | ||||
| 		return fmt.Errorf("no such room: %s; err: %w", bm["room_id"], err) | ||||
| 	} | ||||
| 	log.Debug("recovering bot", "bot", bm) | ||||
| 	_, err := llmapi.NewBot(bm["role"], bm["team"], bm["bot_name"], bm["room_id"], cfg) | ||||
| 	if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder