[Core] Expose Bot metadata to BotContext
This commit is contained in:
parent
3e9139c56e
commit
a4fa6fbf34
|
@ -8,6 +8,10 @@ public class BotContext : IDisposable
|
|||
{
|
||||
public readonly EventInvoker Invoker;
|
||||
|
||||
public uint BotUin => ContextCollection.Keystore.Uin;
|
||||
|
||||
public string? BotName => ContextCollection.Keystore.Info?.Name;
|
||||
|
||||
internal readonly Utility.TaskScheduler Scheduler;
|
||||
|
||||
internal readonly ContextCollection ContextCollection;
|
||||
|
|
Loading…
Reference in New Issue