small chance crashfix when 502 happens on sendfile
This commit is contained in:
parent
e47b47b498
commit
9d88627e19
@ -30,6 +30,8 @@ namespace NadekoBot.Modules.Games.Commands
|
||||
|
||||
|
||||
private async void PotentialFlowerGeneration(object sender, Discord.MessageEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (e.Server == null || e.Channel.IsPrivate)
|
||||
return;
|
||||
@ -45,6 +47,8 @@ namespace NadekoBot.Modules.Games.Commands
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
//channelid/messageid pair
|
||||
ConcurrentDictionary<ulong, Message> plantedFlowerChannels = new ConcurrentDictionary<ulong, Message>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user