Skip to content

Commit

Permalink
[Bot -> Core] Remove "Bot" config subfolder.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogFeelings committed Oct 31, 2023
1 parent dd63c95 commit 5e273bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/SammBot.Bot/Core/Settings/SettingsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@ public class SettingsManager

public const string BOT_NAME = "Samm-Bot";
public const string CONFIG_FILE = "config.json";

private const string _BOT_CONFIG_FOLDER = "Bot";

public readonly string BotDataDirectory;

private SettingsManager()
{
string appData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);

BotDataDirectory = Path.Combine(appData, BOT_NAME, _BOT_CONFIG_FOLDER);
BotDataDirectory = Path.Combine(appData, BOT_NAME);
}

public bool LoadConfiguration()
Expand Down

0 comments on commit 5e273bb

Please sign in to comment.