Showing
2 changed files
with
19 additions
and
0 deletions
Commands/Stationery/search.js
0 → 100644
1 | +const Discord = require("discord.js"); | ||
2 | +exports.run = async (client, msg, args, prefix) => { | ||
3 | + if (args[0]) { // 명령어 뒤에 입력값이 있을 경우 (ex. !<명령어> <채팅>) | ||
4 | + let Commands = new Discord.MessageEmbed() | ||
5 | + .setTitle(`${args[0]}에 대한 검색 결과`) | ||
6 | + .setColor("E5D49A") | ||
7 | + msg.reply({ embeds: [Commands] }); | ||
8 | + } else { | ||
9 | + msg.reply("검색어가 없습니다. 검색어를 추가해서 다시 입력해주세요."); | ||
10 | + } | ||
11 | +}; | ||
12 | + | ||
13 | +exports.config = { | ||
14 | + name: '문구', | ||
15 | + aliases: [' ', ' ', ' ', ' '], | ||
16 | + category: ['stationery'], | ||
17 | + des: ['채팅 내용에 대한 검색결과를 보여줍니다.'], | ||
18 | + use: ['!문구 <채팅>'] | ||
19 | +}; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
Commands/Stationery/temp1.js
deleted
100644 → 0
File mode changed
-
Please register or login to post a comment