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-05-24 21:33:17 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ac073d63bc1c58076c4cd388fc08c57987d82327
ac073d63
1 parent
27cc0a4e
temp
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
Commands/OCR/ocr.js
index.js
Commands/OCR/ocr.js
View file @
ac073d6
exports
.
run
=
async
(
client
,
msg
,
args
,
prefix
)
=>
{
msg
.
channel
.
send
(
`
${
client
.
user
.
username
}
의 핑은
${
client
.
ws
.
ping
}
ms 입니다!`
);
};
exports
.
config
=
{
name
:
'핑'
,
aliases
:
[
'vld'
,
'ping'
],
category
:
[
'ocr'
],
des
:
[
'봇의 디스코드 웹소켓 지연시간을 알려드립니다'
],
use
:
[
'!핑'
]
};
\ No newline at end of file
...
...
index.js
View file @
ac073d6
...
...
@@ -11,7 +11,7 @@ client.once('ready', () => {
client
.
commands
=
new
Discord
.
Collection
();
client
.
aliases
=
new
Discord
.
Collection
();
client
.
category
=
[
'example'
,
'stationery'
,
'translate'
,
'tts'
];
client
.
category
=
[
'example'
,
'stationery'
,
'translate'
,
'tts'
,
'ocr'
];
fs
.
readdirSync
(
"./Commands/"
).
forEach
(
dir
=>
{
const
Filter
=
fs
.
readdirSync
(
`./Commands/
${
dir
}
`
).
filter
(
f
=>
f
.
endsWith
(
".js"
));
...
...
Please
register
or
login
to post a comment