Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Commit 55d1a25

Browse files
committed
GoogleData didn't write to file
1 parent 95f60b6 commit 55d1a25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DiscordBot/Config.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ public static void WriteToGoogleConfig(string apiKey, string spreadsheetID, stri
9292
NicknameField = nickname,
9393
};
9494

95-
string botJson = JsonConvert.SerializeObject(Bot, Formatting.Indented);
96-
File.WriteAllText(ConfFile, botJson);
95+
string botJson = JsonConvert.SerializeObject(GoogleData, Formatting.Indented);
96+
File.WriteAllText(GoogleConfFile, botJson);
9797
}
9898

9999
private static void CreateGoogleConfigFiles()

0 commit comments

Comments
 (0)