Gifs will now work again in .plant and .gc, fix #1807
This commit is contained in:
		| @@ -91,7 +91,7 @@ namespace NadekoBot.Modules.Games | |||||||
|  |  | ||||||
|                     using (var toSend = imgData.ToStream()) |                     using (var toSend = imgData.ToStream()) | ||||||
|                     { |                     { | ||||||
|                         msg = await Context.Channel.SendFileAsync(toSend, "plant.png", msgToSend, options: new RequestOptions() |                         msg = await Context.Channel.SendFileAsync(toSend, "plant.gif", msgToSend, options: new RequestOptions() | ||||||
|                         { |                         { | ||||||
|                             RetryMode = RetryMode.AlwaysRetry |                             RetryMode = RetryMode.AlwaysRetry | ||||||
|                         }).ConfigureAwait(false); |                         }).ConfigureAwait(false); | ||||||
|   | |||||||
| @@ -200,7 +200,7 @@ namespace NadekoBot.Modules.Games.Services | |||||||
|                             { |                             { | ||||||
|                                 var sent = await channel.SendFileAsync( |                                 var sent = await channel.SendFileAsync( | ||||||
|                                     fileStream, |                                     fileStream, | ||||||
|                                     "drop.png", |                                     "drop.gif", | ||||||
|                                     toSend).ConfigureAwait(false); |                                     toSend).ConfigureAwait(false); | ||||||
|  |  | ||||||
|                                 msgs[0] = sent; |                                 msgs[0] = sent; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user