Merge branch 'transpatch' into 'v3'

Small `.trans` fixes

See merge request Kwoth/nadekobot!200
This commit is contained in:
Kwoth
2021-12-18 21:10:06 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ namespace NadekoBot.Modules.Searches
public class TranslateCommands : NadekoSubmodule<ITranslateService>
{
[NadekoCommand, Aliases]
public async Task Translate(string from, string to, [Leftover] string text = null)
public async Task Translate(string from, string to, [Leftover] string text)
{
try
{

View File

@@ -1143,9 +1143,9 @@ butts:
args:
- ""
translate:
desc: "Translates from>to text. From the given language to the destination language."
desc: "Translates text from the given language to the destination language."
args:
- "en>fr Hello"
- "en fr Hello"
translangs:
desc: "Lists the valid languages for translation."
args: