김연수

Merge branch 'ocr' into 'master'

Ocr

Change the category of help function from example to help

See merge request !3
......@@ -69,7 +69,7 @@ exports.run = async (client, msg, args, prefix) => {
exports.config = {
name: '도움말',
aliases: ['도움', '명령어', 'commands', 'help'],
category: ['example'],
category: ['Help'],
des: ['봇에 대한 명령어 리스트들을 불러옵니다.'],
use: ['!도움말 <명령어>']
};
\ No newline at end of file
......
......@@ -75,14 +75,11 @@ exports.run = async (client, msg, args, prefix) => {
}
};
function kor(attachment) {
}
exports.config = {
name: 'ocr',
aliases: ['ㅐㅊㄱ'],
category: ['ocr'],
category: ['Ocr'],
des: ['이미지를 첨부하고 명령어를 입력하면, 이미지에 있는 텍스트를 추출합니다.'],
use: ['!ocr <사용 언어>']
};
\ No newline at end of file
......
This diff is collapsed. Click to expand it.
......@@ -11,7 +11,7 @@ client.once('ready', () => {
client.commands = new Discord.Collection();
client.aliases = new Discord.Collection();
client.category = ['example', 'stationery', 'translate', 'ocr'];
client.category = ['Help', 'Stationery', 'Translate', 'Ocr'];
fs.readdirSync("./Commands/").forEach(dir => {
const Filter = fs.readdirSync(`./Commands/${dir}`).filter(f => f.endsWith(".js"));
......