Class SocketBotAddAuditLogData
Contains a piece of audit log data related to a adding a bot to a guild.
public class SocketBotAddAuditLogData : ISocketAuditLogData, IAuditLogData
- Inheritance
-
SocketBotAddAuditLogData
- Implements
- Inherited Members
Properties
Target
Gets the bot that was added.
public Cacheable<SocketUser, RestUser, IUser, ulong> Target { get; }
Property Value
- Cacheable<SocketUser, RestUser, IUser, ulong>
A cacheable user object representing the bot.
Remarks
Will be null if the bot is a 'Deleted User#....' because Discord does send user data for deleted users.