File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ # 2.7.3
6+
7+ ## Fix
8+
9+ - ** env** loaded correctly
10+
511# 2.7.2
612
713## features
Original file line number Diff line number Diff line change 11{
22 "name" : " offdjs" ,
3- "version" : " 2.7.2 " ,
3+ "version" : " 2.7.3 " ,
44 "type" : " module" ,
55 "description" : " oneki framework for discord.js" ,
66 "main" : " lib/index.js" ,
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ if (verbose)
6363 )
6464client . options . root = process . env . OFFDJS_ROOT || cmd . opts ( ) . root
6565if ( verbose ) console . log ( 'Root:' , client . options . root )
66- const token = process . env . OFFDJS_ROOT || cmd . opts ( ) . token
66+ const token = process . env . DISCORD_TOKEN || cmd . opts ( ) . token
6767if ( ! token ) {
6868 console . error ( 'Token is required' )
6969 process . exit ( 1 )
You can’t perform that action at this time.
0 commit comments