Skip to content

Commit

Permalink
Update ControlModule.cs
Browse files Browse the repository at this point in the history
Had extra spaces.
  • Loading branch information
moddedx authored Jun 23, 2024
1 parent 1ab2c2d commit 7cf23dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Discord/Modules/ControlModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public async Task MakeBatAsync()
{
botname = "Order Bot";
}
var batinfo = $"TITLE {botname}\n@echo off\n:Start\ncd {botloc}\n{botapp}\n:: Wait 20 seconds before restarting.\nTIMEOUT / T 20\nGOTO: Start";
var batinfo = $"TITLE {botname}\n@echo off\n:Start\ncd {botloc}\n{botapp}.exe\n:: Wait 20 seconds before restarting.\nTIMEOUT /T 20\nGOTO:Start";
using (StreamWriter writer = new StreamWriter("Restart.bat"))
{
writer.WriteLine($"{batinfo}");
Expand Down

0 comments on commit 7cf23dc

Please sign in to comment.