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:21:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
34cb6a2151d33ced86f7b792e25fb0f2eb1c2770
34cb6a21
1 parent
a4e472fb
Just a little edit, but last commit for tonight because I am STRESSED
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
main.js
main.js
View file @
34cb6a2
...
...
@@ -7,9 +7,6 @@ const prefix = ';';
const
fs
=
require
(
'fs'
);
//import 'regenerator-runtime/runtime'; -> do i need this?
const
axios
=
require
(
"axios"
);
client
.
commands
=
new
Discord
.
Collection
();
const
commandFiles
=
fs
.
readdirSync
(
'./commands'
).
filter
(
file
=>
file
.
endsWith
(
'.js'
));
...
...
@@ -35,7 +32,7 @@ client.on('message', message => {
}
else
if
(
command
==
'help'
){
client
.
commands
.
get
(
'help'
).
execute
(
message
,
args
);
}
else
if
(
command
==
'calm'
){
client
.
commands
.
get
(
'calm'
).
execute
(
message
,
args
);
client
.
commands
.
get
(
'calm'
).
execute
(
message
,
args
,
Discord
);
}
else
if
(
command
==
'breathe'
){
client
.
commands
.
get
(
'breathe'
).
execute
(
message
,
args
);
}
else
if
(
command
==
'cute'
){
...
...
Please
register
or
login
to post a comment