Skip to content

Commit

Permalink
Update DiscordAuditLogEntry.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Oct 17, 2023
1 parent b2fecac commit b609d34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public override string ToString()
/// <typeparam name="T">The type to convert to. Use the type based on the <see cref="ActionType"/>.</typeparam>
/// <returns>The easy to-use audit log entry.</returns>
/// <exception cref="InvalidCastException">Thrown when the <see cref="ActionType"/> is not compatible with the targets <see cref="ValidFor"/> type.</exception>
public T? As<T>()
public T As<T>()
where T : DiscordAuditLogEntry, new()
{
if (this is T t)
Expand Down

0 comments on commit b609d34

Please sign in to comment.