Table of Contents

Class BotAddAuditLogData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Contains a piece of audit log data related to a adding a bot to a guild.

public class BotAddAuditLogData : IAuditLogData
Inheritance
BotAddAuditLogData
Implements
Inherited Members

Properties

Target

Gets the bot that was added.

public IUser Target { get; }

Property Value

IUser

A 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.