Temporary fix for GIF cache
This commit is contained in:
parent
f6fccc5348
commit
82d9728b5d
@ -1,4 +1,4 @@
|
|||||||
using Discord;
|
using Discord;
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NadekoBot.Extensions;
|
using NadekoBot.Extensions;
|
||||||
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user