Minty U

temp

1 +exports.run = async (client, msg, args, prefix) => {
2 + msg.channel.send(`${client.user.username}의 핑은 ${client.ws.ping}ms 입니다!`);
3 +};
4 +
5 +exports.config = {
6 + name: '핑',
7 + aliases: ['vld', 'ping'],
8 + category: ['ocr'],
9 + des: ['봇의 디스코드 웹소켓 지연시간을 알려드립니다'],
10 + use: ['!핑']
11 +};
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -11,7 +11,7 @@ client.once('ready', () => { ...@@ -11,7 +11,7 @@ client.once('ready', () => {
11 11
12 client.commands = new Discord.Collection(); 12 client.commands = new Discord.Collection();
13 client.aliases = new Discord.Collection(); 13 client.aliases = new Discord.Collection();
14 -client.category = ['example', 'stationery', 'translate', 'tts']; 14 +client.category = ['example', 'stationery', 'translate', 'tts', 'ocr'];
15 15
16 fs.readdirSync("./Commands/").forEach(dir => { 16 fs.readdirSync("./Commands/").forEach(dir => {
17 const Filter = fs.readdirSync(`./Commands/${dir}`).filter(f => f.endsWith(".js")); 17 const Filter = fs.readdirSync(`./Commands/${dir}`).filter(f => f.endsWith(".js"));
......