mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 03:31:03 +00:00
Update entrypoint.js
This commit is contained in:
parent
935d7c15a4
commit
bdfa66c6d0
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ var major = parseInt(v[0]),
|
||||||
patch = parseInt(v[2]);
|
patch = parseInt(v[2]);
|
||||||
|
|
||||||
if((major == 0 && minor < 12) || (major == 0 && minor == 12 && patch < 7)) {
|
if((major == 0 && minor < 12) || (major == 0 && minor == 12 && patch < 7)) {
|
||||||
if(!env.OVERRIDE_DISCORD_MIN_VERSION) {
|
if(!process.env.OVERRIDE_DISCORD_MIN_VERSION) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`discord.js doesn't support node versions less than 0.12.7.
|
`discord.js doesn't support node versions less than 0.12.7.
|
||||||
If you /really/ want to run it on this node (${process.version}), then set OVERRIDE_DISCORD_MIN_VERSION as enviroment variable.
|
If you /really/ want to run it on this node (${process.version}), then set OVERRIDE_DISCORD_MIN_VERSION as enviroment variable.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue