Compare commits
No commits in common. "f0c77bed3cc5955ea8f16a82e1b5fb427f821721" and "999d17a118d4990a3d51ff92b358f04d95865ca1" have entirely different histories.
f0c77bed3c
...
999d17a118
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
# cookies
|
||||
cookies.txt
|
||||
@ -33,11 +33,6 @@ config.whitelist = Object.keys(
|
||||
).map((x) => +x);
|
||||
|
||||
console.info(config);
|
||||
if (!process.env.BOT_TOKEN) {
|
||||
throw new Error(
|
||||
"BOT_TOKEN not defined. Please, run docker container: docker run <params> <container> --env-file .env",
|
||||
);
|
||||
}
|
||||
|
||||
config.admins = Object.fromEntries(config.admins.map((x) => [x, true]));
|
||||
config.whitelist = Object.fromEntries(config.whitelist.map((x) => [x, true]));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user