forgor thats not a thing
This commit is contained in:
parent
294af02da5
commit
8bfc987dfe
1 changed files with 1 additions and 3 deletions
4
index.js
4
index.js
|
|
@ -253,9 +253,7 @@ process.on("unhandledRejection", (error) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!config.discord.token) {
|
if (!config.discord.token) {
|
||||||
console.error(
|
console.error("Discord token is required! Set it in config.toml.");
|
||||||
"Discord token is required! Set it in config.toml or DISCORD_TOKEN environment variable.",
|
|
||||||
);
|
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue