mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Merge branch 'v3' of https://gitlab.com/kwoth/nadekobot into v3
This commit is contained in:
@@ -83,11 +83,12 @@ Open PowerShell (press windows button on your keyboard and type powershell, it s
|
|||||||
1. `git clone https://gitlab.com/kwoth/nadekobot -b v3 --depth 1`
|
1. `git clone https://gitlab.com/kwoth/nadekobot -b v3 --depth 1`
|
||||||
2. `cd nadekobot`
|
2. `cd nadekobot`
|
||||||
3. `dotnet publish -c Release -o output/ src/NadekoBot/`
|
3. `dotnet publish -c Release -o output/ src/NadekoBot/`
|
||||||
4. `cd output && cp creds_example.yml creds.yml`
|
4. `cd output'
|
||||||
5. Open `creds.yml` with your favorite text editor (Please don't use Notepad or WordPad. You can use Notepad++, VSCode, Atom, Sublime, or something similar)
|
5. 'cp creds_example.yml creds.yml`
|
||||||
6. [Enter your bot's token](#creds-guide)
|
6. Open `creds.yml` with your favorite text editor (Please don't use Notepad or WordPad. You can use Notepad++, VSCode, Atom, Sublime, or something similar)
|
||||||
7. Run the bot `dotnet NadekoBot.dll`
|
7. [Enter your bot's token](#creds-guide)
|
||||||
8. 🎉
|
8. Run the bot `dotnet NadekoBot.dll`
|
||||||
|
9. 🎉
|
||||||
|
|
||||||
##### Update Instructions
|
##### Update Instructions
|
||||||
|
|
||||||
|
@@ -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
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
using Discord;
|
using Discord;
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using Discord.WebSocket;
|
using Discord.WebSocket;
|
||||||
using NadekoBot.Common.Attributes;
|
using NadekoBot.Common.Attributes;
|
||||||
@@ -278,7 +278,7 @@ namespace NadekoBot.Modules.Xp
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
await ReplyConfirmLocalizedAsync(strs.excluded(Format.Bold(channel.ToString())));
|
await ReplyConfirmLocalizedAsync(strs.not_excluded(Format.Bold(channel.ToString())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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