Chore: solved some todos
This commit is contained in:
@ -167,8 +167,6 @@ func HandleAddBot(w http.ResponseWriter, r *http.Request) {
|
||||
abortWithError(w, err.Error())
|
||||
return
|
||||
}
|
||||
// TODO: what if bot exists already?
|
||||
// control number and names of bots
|
||||
botname := fmt.Sprintf("bot_%d", len(llmapi.SignalChanMap)+1) // what if many rooms?
|
||||
bot, err := llmapi.NewBot(role, team, botname, fi.Room.ID, cfg)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user