mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Small .trans
fixes
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
@@ -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:
|
||||||
|
Reference in New Issue
Block a user