Stacktrace:
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at System.IO.File.WriteAllText(String path, String contents)
at GenericBot.CommandModules.ConfigModule.<>c.<b__0_60>d.MoveNext() in C:\Users*removedremoved\Documents\GitHub\Saturn-Bot\GenericBot\CommandModules\ConfigModule.cs:line 780
--- End of stack trace from previous location ---
at GenericBot.Entities.Command.ExecuteCommand(ParsedCommand command) in C:\Users*removedremoved\Documents\GitHub\Saturn-Bot\GenericBot\Entities\Command.cs:line 75
Stacktrace: at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path) at System.IO.File.WriteAllText(String path, String contents) at GenericBot.CommandModules.ConfigModule.<>c.<b__0_60>d.MoveNext() in C:\Users*removed removed\Documents\GitHub\Saturn-Bot\GenericBot\CommandModules\ConfigModule.cs:line 780
--- End of stack trace from previous location ---
at GenericBot.Entities.Command.ExecuteCommand(ParsedCommand command) in C:\Users*removed removed\Documents\GitHub\Saturn-Bot\GenericBot\Entities\Command.cs:line 75