Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박건희
/
emon_bot
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
Minty U
2022-06-02 16:54:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c67ad5c1c9845a018b9088f70218600973ad167d
c67ad5c1
1 parent
4a4e4119
Change the category of help function from example to help
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
Commands/Example/help.js → Commands/Help/help.js
index.js
Commands/
Example
/help.js
→
Commands/
Help
/help.js
View file @
c67ad5c
File moved
index.js
View file @
c67ad5c
...
...
@@ -11,7 +11,7 @@ client.once('ready', () => {
client
.
commands
=
new
Discord
.
Collection
();
client
.
aliases
=
new
Discord
.
Collection
();
client
.
category
=
[
'
example'
,
'stationery'
,
'translate'
,
'o
cr'
];
client
.
category
=
[
'
Help'
,
'Stationery'
,
'Translate'
,
'O
cr'
];
fs
.
readdirSync
(
"./Commands/"
).
forEach
(
dir
=>
{
const
Filter
=
fs
.
readdirSync
(
`./Commands/
${
dir
}
`
).
filter
(
f
=>
f
.
endsWith
(
".js"
));
...
...
Please
register
or
login
to post a comment