From 5d30658b0f7d6cedc0d7bcab7212774464abd4c3 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Wed, 8 Nov 2017 06:14:08 +0100 Subject: [PATCH] Gifs will now work again in .plant and .gc, fix #1807 --- NadekoBot.Core/Modules/Games/PlantAndPickCommands.cs | 2 +- NadekoBot.Core/Modules/Games/Services/GamesService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NadekoBot.Core/Modules/Games/PlantAndPickCommands.cs b/NadekoBot.Core/Modules/Games/PlantAndPickCommands.cs index e726cad3..0c04a2d3 100644 --- a/NadekoBot.Core/Modules/Games/PlantAndPickCommands.cs +++ b/NadekoBot.Core/Modules/Games/PlantAndPickCommands.cs @@ -91,7 +91,7 @@ namespace NadekoBot.Modules.Games 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 }).ConfigureAwait(false); diff --git a/NadekoBot.Core/Modules/Games/Services/GamesService.cs b/NadekoBot.Core/Modules/Games/Services/GamesService.cs index c8a7dc85..365529c6 100644 --- a/NadekoBot.Core/Modules/Games/Services/GamesService.cs +++ b/NadekoBot.Core/Modules/Games/Services/GamesService.cs @@ -200,7 +200,7 @@ namespace NadekoBot.Modules.Games.Services { var sent = await channel.SendFileAsync( fileStream, - "drop.png", + "drop.gif", toSend).ConfigureAwait(false); msgs[0] = sent;