Small .trans fixes

This commit is contained in:
Alan Beatty
2021-12-18 21:10:06 +00:00
committed by Kwoth
parent 7bff20cc70
commit 8e8e349e65
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ namespace NadekoBot.Modules.Searches
public class TranslateCommands : NadekoSubmodule<ITranslateService> public class TranslateCommands : NadekoSubmodule<ITranslateService>
{ {
[NadekoCommand, Aliases] [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 try
{ {

View File

@@ -1143,9 +1143,9 @@ butts:
args: args:
- "" - ""
translate: 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: args:
- "en>fr Hello" - "en fr Hello"
translangs: translangs:
desc: "Lists the valid languages for translation." desc: "Lists the valid languages for translation."
args: args: