|
|
@@ -1,7 +1,9 @@ |
|
|
|
using System; |
|
|
|
using Discord.Rest; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Immutable; |
|
|
|
using System.Linq; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Model = Discord.API.Message; |
|
|
|
|
|
|
|
namespace Discord.WebSocket |
|
|
@@ -52,6 +54,9 @@ namespace Discord.WebSocket |
|
|
|
Content = model.Content.Value; |
|
|
|
} |
|
|
|
|
|
|
|
public Task DeleteAsync(RequestOptions options) |
|
|
|
=> MessageHelper.DeleteAsync(this, Discord, options); |
|
|
|
|
|
|
|
public override string ToString() => Content; |
|
|
|
internal SocketMessage Clone() => MemberwiseClone() as SocketMessage; |
|
|
|
|
|
|
|