Class OvermindBotEventArgs
Wraps an event from a bot running within overmind.
Inherited Members
Namespace: Microsoft.XboxStudios .BotBrain .Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public class OvermindBotEventArgs : OvermindEventArgs
Constructors
View SourceOvermindBotEventArgs(IAutomatedBot, BotActionEventArgs, string?)
Initializes a new instance of the Overmind
Declaration
public OvermindBotEventArgs(IAutomatedBot bot, BotActionEventArgs botEvent, string? message = null)
Parameters
Type | Name | Description |
---|---|---|
IAutomated |
bot | The bot. |
Bot |
botEvent | The event that occurred. |
string | message | A description of the event. |
Properties
View SourceBot
Gets the bot.
Declaration
[JsonIgnore]
public IAutomatedBot Bot { get; }
Property Value
Type | Description |
---|---|
IAutomated |
BotEvent
Gets the event that occurred.
Declaration
public BotActionEventArgs BotEvent { get; }
Property Value
Type | Description |
---|---|
Bot |