Adding xml comments to BotBase
This commit is contained in:
parent
b278015dd4
commit
e6a48115a6
@ -39,7 +39,10 @@ public class BotBaseBuilder : IAPIKeySelectionStage, IMessageLoopSelectionStage,
|
||||
/// </summary>
|
||||
private Dictionary<BotCommandScope, List<BotCommand>> BotCommandScopes { get; } = new();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Creates a full BotBase instance with all parameters previously set.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public BotBase Build()
|
||||
{
|
||||
var bot = new BotBase(_apiKey, _client)
|
||||
|
||||
@ -2,5 +2,9 @@
|
||||
|
||||
public interface IBuildingStage
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a full BotBase instance with all parameters previously set.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
BotBase Build();
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user