SLight change

This commit is contained in:
Kwoth 2016-12-11 01:54:02 +01:00
parent 3dbdcda6da
commit 72ec76e73d

View File

@ -56,7 +56,7 @@ namespace NadekoBot.Modules.Searches
.ConfigureAwait(false);
if (autoDelete)
try { await umsg.DeleteAsync().ConfigureAwait(false); } catch { }
await umsg.Channel.SendMessageAsync($"{umsg.Author.Mention} `:` "+text.Replace("<@ ", "<@").Replace("<@! ", "<@!")).ConfigureAwait(false);
await umsg.Channel.SendConfirmAsync($"{umsg.Author.Mention} `:` "+text.Replace("<@ ", "<@").Replace("<@! ", "<@!")).ConfigureAwait(false);
}
catch { }
@ -75,8 +75,7 @@ namespace NadekoBot.Modules.Searches
{
await umsg.Channel.TriggerTypingAsync().ConfigureAwait(false);
var translation = await TranslateInternal(umsg, langs, text);
await channel.SendConfirmAsync(translation).ConfigureAwait(false);
await channel.SendConfirmAsync("Translation " + langs, translation).ConfigureAwait(false);
}
catch
{