Exemplo n.º 1
0
 /// <summary>
 /// Changes the contents of this message.
 /// <para>Note: only messages created by the current bot can be editted.</para>
 /// </summary>
 /// <returns>Returns the editted message.</returns>
 /// <exception cref="DiscordHttpApiException"></exception>
 public Task <DiscordMessage> Edit(string newContent)
 {
     return(http.EditMessage(ChannelId, Id, newContent));
 }
Exemplo n.º 2
0
 internal void EditMessage(Snowflake channel, Snowflake message, string content)
 {
     client.EditMessage(channel, message, content);
 }