Made RequestOptions in XXXMessage.DeleteAsync optional

This commit is contained in:
RogueException
2016-10-20 05:10:12 -03:00
parent 6e1a76d070
commit b23d839d8b
3 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ namespace Discord.Rpc
AuthorColor = new Color(Convert.ToUInt32(model.AuthorColor.Value.Substring(1), 16));
}
public Task DeleteAsync(RequestOptions options)
public Task DeleteAsync(RequestOptions options = null)
=> MessageHelper.DeleteAsync(this, Discord, options);
public override string ToString() => Content;