From c0b8d9c0f0f6f100347ec97328a9b25709e2b104 Mon Sep 17 00:00:00 2001 From: Mira <56395159+TheXorog@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:46:51 +0200 Subject: [PATCH] feat: BotAddChangeSet.Bot --- .../Entities/Guild/AuditLog/ChangeSet/BotAddChangeSet.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/BotAddChangeSet.cs b/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/BotAddChangeSet.cs index 2049788364..6f1b560e28 100644 --- a/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/BotAddChangeSet.cs +++ b/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/BotAddChangeSet.cs @@ -11,4 +11,6 @@ internal BotAddChangeSet() { this.ValidFor = AuditLogActionType.BotAdd; } + + public DiscordUser Bot => this.Discord.GetCachedOrEmptyUserInternal(this.TargetId!.Value); }