Check the selected bot
var bot = BotManager.Current;
if (bot == null || !BotManager.IsRunning)
return;
var botName = bot.Name;Observe the current selection without starting or stopping it.
Discover installed bots, inspect the selected bot and observe or control its lifecycle.
Namespace: DreamPoeBot.Loki.Bot
public static class BotManagerView DPB2 version โusing System;
using System.Linq;
using DreamPoeBot.Loki.Game;
using DreamPoeBot.Loki.Game.Objects;
using DreamPoeBot.Loki.Bot;
using DreamPoeBot.Loki.Bot.Pathfinding;
using DreamPoeBot.Loki.Common;var bot = BotManager.Current;
if (bot == null || !BotManager.IsRunning)
return;
var botName = bot.Name;Observe the current selection without starting or stopping it.
public static BotManager.BotEvent BotManager.PreStart
Raised for pre start. Subscribe with the callback type shown in the signature.
DPB1 0.3.29.47 ยท Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.