[Fix] GetEventCoverImageUrl throwing NRE in case event cover image is null (#2818)
* return null instead of throwing NRE * fix xmldoc
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Discord.Rest
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string GetCoverImageUrl(ImageFormat format = ImageFormat.Auto, ushort size = 1024)
|
||||
=> CDN.GetEventCoverImageUrl(Guild.Id, Id, CoverImageId, format, size);
|
||||
=> CDN.GetEventCoverImageUrl(GuildId, Id, CoverImageId, format, size);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public Task StartAsync(RequestOptions options = null)
|
||||
|
||||
Reference in New Issue
Block a user