Updated credentials.json references to creds.yml

This commit is contained in:
Kwoth
2021-09-07 16:38:05 +02:00
parent e005ec11fd
commit 8a5539448e
24 changed files with 24 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ namespace NadekoBot.Services
if (string.IsNullOrWhiteSpace(_creds.Token))
{
Log.Error("Token is missing from credentials.json or Environment variables.\n" +
Log.Error("Token is missing from creds.yml or Environment variables.\n" +
"Add it and restart the program.");
Helpers.ReadErrorAndExit(5);
return;

View File

@@ -23,7 +23,7 @@ namespace NadekoBot.Services
if (string.IsNullOrWhiteSpace(_creds.RestartCommand?.Cmd)
|| string.IsNullOrWhiteSpace(_creds.RestartCommand?.Args))
{
Log.Error("You must set RestartCommand.Cmd and RestartCommand.Args in credentials.json");
Log.Error("You must set RestartCommand.Cmd and RestartCommand.Args in creds.yml");
return false;
}