If the bot doesn't get the flag, then it may not allow the "party" to enter the dungeon. A "#bot dropflag ldon" command might be the ticket, if that is the case.
Resummoning the bot didn't work for clearing the flag? I know it's three minutes, but that's not too painful.