private async Task SendFile(Embed result, string socialMedia) { string thumbnail = Path.Combine(Environment.CurrentDirectory, $@"Resources\Images\SocialMedia\{socialMedia}.png"); if (Statics.Debug) { await Statics.DebugSendFileToChannelAsync(_client, result, thumbnail); } else { await Context.Channel.SendFileAsync(thumbnail, embed : result); } }