Fixed release Config not found bug
This commit is contained in:
@@ -103,7 +103,7 @@ public class Program
|
|||||||
if (File.Exists("./Data/Resources/token.txt")) token = File.ReadAllText("./Data/Resources/token.txt");
|
if (File.Exists("./Data/Resources/token.txt")) token = File.ReadAllText("./Data/Resources/token.txt");
|
||||||
else token = AppSettings["token"];
|
else token = AppSettings["token"];
|
||||||
#else
|
#else
|
||||||
token = Config.Data["token"];
|
token = AppSettings["token"];
|
||||||
#endif
|
#endif
|
||||||
var prefix = AppSettings["prefix"];
|
var prefix = AppSettings["prefix"];
|
||||||
var discordbooter = new Boot(token, prefix);
|
var discordbooter = new Boot(token, prefix);
|
||||||
|
|||||||
Reference in New Issue
Block a user