mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
ToLower for .trans
language parameters
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