Browse Source

Fix typo in API model for GameAssets

This would cause the large asset's Image ID (and in turn, Image URL) and
hover text to be reversed.
tags/2.0.0-beta
Christopher F 7 years ago
parent
commit
0f2af47ec8
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/Discord.Net.Rest/API/Common/GameAssets.cs

+ 4
- 4
src/Discord.Net.Rest/API/Common/GameAssets.cs View File

@@ -1,4 +1,4 @@
using Newtonsoft.Json;
using Newtonsoft.Json;

namespace Discord.API
{
@@ -8,9 +8,9 @@ namespace Discord.API
public Optional<string> SmallText { get; set; }
[JsonProperty("small_image")]
public Optional<string> SmallImage { get; set; }
[JsonProperty("large_image")]
public Optional<string> LargeText { get; set; }
[JsonProperty("large_text")]
public Optional<string> LargeText { get; set; }
[JsonProperty("large_image")]
public Optional<string> LargeImage { get; set; }
}
}
}

Loading…
Cancel
Save