Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이세린
/
anxietymanager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이세린
2022-06-01 23:08:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca366220c3b40b44adfe5dc01e6ee4f76bcc8034
ca366220
1 parent
a0813e2e
es6 isn't working. Import Discord error.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
main.js
main.js
View file @
ca36622
...
...
@@ -11,12 +11,12 @@ client.commands = new Discord.Collection();
const
commandFiles
=
fs
.
readdirSync
(
'./commands'
).
filter
(
file
=>
file
.
endsWith
(
'.js'
));
import
breathe
from
'./commands/breathe'
;
import
calm
from
'./commands/calm'
;
import
chat
from
'./commands/chat'
;
import
checklist
from
'./commands/checklist'
;
import
cute
from
'./commands/cute'
;
import
help
from
'./commands/help'
;
import
breathe
from
'./commands/breathe
.js
'
;
import
calm
from
'./commands/calm
.js
'
;
import
chat
from
'./commands/chat
.js
'
;
import
checklist
from
'./commands/checklist
.js
'
;
import
cute
from
'./commands/cute
.js
'
;
import
help
from
'./commands/help
.js
'
;
for
(
const
file
of
commandFiles
){
//const command = require(`./commands/${file}`);
...
...
Please
register
or
login
to post a comment