Skip to content

Commit

Permalink
Update console title.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Nov 9, 2018
1 parent 0c17114 commit 0bf1ee0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Expand Up @@ -15,6 +15,12 @@ const Discord = require("./discord"),
(async () => { (async () => {
Log.log("Starting up..."); Log.log("Starting up...");


if (process.platform === "win32") {
process.title = "FusionBot";
} else {
process.stdout.write("\x1b]2;FusionBot\x1b\x5c");
}

const season = await Db.getLatestSeasonNumber(); const season = await Db.getLatestSeasonNumber();


Discord.startup(season); Discord.startup(season);
Expand Down

0 comments on commit 0bf1ee0

Please sign in to comment.