mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Merge branch 'trans-patch' into 'v3'
ToLower for `.trans` language parameters See merge request Kwoth/nadekobot!205
This commit is contained in:
@@ -17,7 +17,7 @@ namespace NadekoBot.Modules.Searches
|
||||
try
|
||||
{
|
||||
await ctx.Channel.TriggerTypingAsync().ConfigureAwait(false);
|
||||
var translation = await _service.Translate(from, to, text).ConfigureAwait(false);
|
||||
var translation = await _service.Translate(from.ToLower(), to.ToLower(), text).ConfigureAwait(false);
|
||||
|
||||
var embed = _eb.Create(ctx)
|
||||
.WithOkColor()
|
||||
|
Reference in New Issue
Block a user