mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	ToLower for .trans language parameters
				
					
				
			This commit is contained in:
		@@ -17,7 +17,7 @@ namespace NadekoBot.Modules.Searches
 | 
				
			|||||||
                try
 | 
					                try
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    await ctx.Channel.TriggerTypingAsync().ConfigureAwait(false);
 | 
					                    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)
 | 
					                    var embed = _eb.Create(ctx)
 | 
				
			||||||
                        .WithOkColor()
 | 
					                        .WithOkColor()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user