Skip to content

Commit

Permalink
Merge pull request #95 from GreenScreen410/develop
Browse files Browse the repository at this point in the history
🎨 λΆˆν•„μš”ν•œ λ°±ν‹± λ¬Έμžμ—΄ 제거
  • Loading branch information
GreenScreen410 committed Jul 17, 2024
2 parents d4fc23f + 22e6670 commit fd8a3f1
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/commands/μŒμ•…/λ„˜κΈ°κΈ°.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
.setTitle('⏩ μž¬μƒμ€‘μΈ λ…Έλž˜λ₯Ό λ„˜κ²ΌμŠ΅λ‹ˆλ‹€!')
.setDescription(`${queue.currentTrack?.title}`)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
}
}
6 changes: 3 additions & 3 deletions src/commands/μŒμ•…/반볡.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
.setTitle('πŸ” ν˜„μž¬ μž¬μƒμ€‘μΈ μŒμ•…μ„ 반볡 μž¬μƒν•©λ‹ˆλ‹€!')
.setDescription(queue.currentTrack.title)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
}

Expand All @@ -47,7 +47,7 @@ export default {
.setTitle('πŸ” 전체 λŒ€κΈ°μ—΄μ„ 반볡 μž¬μƒν•©λ‹ˆλ‹€!')
.setDescription(`${queue.currentTrack.title} μ™Έ ${queue.tracks.toArray().length}개의 μŒμ•…`)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
}

Expand All @@ -59,7 +59,7 @@ export default {
.setTitle('πŸ” 반볡λͺ¨λ“œκ°€ κΊΌμ‘ŒμŠ΅λ‹ˆλ‹€!')
.setDescription(`${queue.currentTrack?.title}`)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/μŒμ•…/μž¬μƒμ€‘.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
{ name: 'μŒμ•… 좜처', value: `\`${queue.currentTrack.extractor?.identifier == null || 'N/A'}\`` }
])
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
}
}
2 changes: 1 addition & 1 deletion src/commands/μŒμ•…/정지.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default {
.setTitle('🚫 정지!')
.setDescription('μŒμ•… μž¬μƒμ„ μ •μƒμ μœΌλ‘œ μ’…λ£Œν•˜μ˜€μŠ΅λ‹ˆλ‹€.')
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })

if (queue.size >= 10) {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/μŒμ•…/제거.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
.setURL(queue.tracks.data[0].url)
.setThumbnail(queue.tracks.data[0].thumbnail)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })

queue.removeTrack(index - 1)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/μŒμ•…/ν•„ν„°.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
.setColor('Random')
.setTimestamp()
.setDescription(queue.currentTrack.title)
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })

if (filter === 'normal') {
await queue.filters.ffmpeg.setFilters([])
Expand Down
2 changes: 1 addition & 1 deletion src/commands/정보/λ“œλ¦Όν•΅.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
{ name: '좜제자', value: `${$('#wargame-challenges > div.challenges-list.challenge-list > div:nth-child(2) > div.challenge-author > div > div > div > a > span').text()}`, inline: true }
)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })

await interaction.followUp({ embeds: [embed] })
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/정보/λ°±μ€€.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default {
{ name: 'πŸ” 평균 μ‹œλ„ 횟수', value: `${response.data.averageTries}`, inline: true }
)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })

// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
if (Object.keys(response.data.tags).length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/정보/μ–΄λ°˜μ‚¬μ „.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
.setDescription(`${response.data.list[0].definition.slice(0, 1021)}...`)
.addFields({ name: '예문', value: `${response.data.list[0].example.slice(0, 1021)}...`, inline: true })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
}
}
2 changes: 1 addition & 1 deletion src/commands/정보/μœ μ €μ •λ³΄.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
{ name: 'πŸ“… μ„œλ²„ κ°€μž…μΌ', value: userInfo.joinedTimestamp != null ? new Date(userInfo.joinedTimestamp).toLocaleString() : 'μ•Œ 수 μ—†μŒ', inline: true }
)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })

if (userInfo.user.id === '767371161083314236') {
embed.addFields(
Expand Down
2 changes: 1 addition & 1 deletion src/commands/정보/ν•‘.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
.setTitle('πŸ“ 퐁!')
.setDescription(`λ°˜μ‘ 속도 : ${interaction.client.ws.ping}ms`)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
}
}
2 changes: 1 addition & 1 deletion src/commands/정보/학ꡐ정보.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
{ name: 'πŸ“… 데이터 μˆ˜μ •μΌμž', value: `${response.data.schoolInfo[1].row[0].LOAD_DTM}` }
)
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
// await interaction.client.achievements.get(interaction, 'school_info')
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/ν™œλ™/강아지.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
.setImage(response.data[0].url as string)
.setTitle('🐢')
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
}
}
2 changes: 1 addition & 1 deletion src/commands/ν™œλ™/고양이.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
.setImage(response.data[0].url as string)
.setTitle('🐱')
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
}
}
2 changes: 1 addition & 1 deletion src/commands/ν™œλ™/μ—¬μš°.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
.setImage(response.data.image as string)
.setTitle('🦊')
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
await interaction.followUp({ embeds: [embed] })
}
}
16 changes: 8 additions & 8 deletions src/handler/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
.setDescription(`μ•Œ 수 μ—†λŠ” 였λ₯˜κ°€ λ°œμƒν•˜μ˜€μŠ΅λ‹ˆλ‹€.\n\`\`\`ts\n${error.message}\`\`\``)
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'UNKNOWN_ERROR' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
},

Expand All @@ -30,7 +30,7 @@ export default {
.setDescription('μ˜¬λ°”λ₯΄μ§€ μ•Šμ€ λͺ…λ Ήμž…λ‹ˆλ‹€.')
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'INVALID_INTERACTION' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
},

Expand All @@ -41,7 +41,7 @@ export default {
.setDescription(`잘λͺ»λœ μΈμžμž…λ‹ˆλ‹€: \`${argument}\``)
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'INVALID_ARGUMENT' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
},

Expand All @@ -52,7 +52,7 @@ export default {
.setDescription('λ¨Όμ € μŒμ„± 채널에 접속해 μ£Όμ„Έμš”.')
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'PLEASE_JOIN_VOICE_CHANNEL' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
},

Expand All @@ -63,7 +63,7 @@ export default {
.setDescription('같은 μŒμ„± 채널에 접속해 μ£Όμ„Έμš”.')
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'PLEASE_JOIN_SAME_VOICE_CHANNEL' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
},

Expand All @@ -74,7 +74,7 @@ export default {
.setDescription('μž¬μƒμ€‘μΈ λ…Έλž˜κ°€ μ—†μŠ΅λ‹ˆλ‹€.')
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'MUSIC_QUEUE_IS_EMPTY' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
},

Expand All @@ -85,7 +85,7 @@ export default {
.setDescription('5μ‹œκ°„ μ΄ν•˜μ˜ λ…Έλž˜λ§Œ μž¬μƒν•  수 μžˆμŠ΅λ‹ˆλ‹€.')
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'MUSIC_IS_TOO_LONG' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
},

Expand All @@ -96,7 +96,7 @@ export default {
.setDescription('DMμ—μ„œλŠ” μ‚¬μš©ν•˜μ‹€ 수 μ—†λŠ” λͺ…λ Ήμ–΄μž…λ‹ˆλ‹€.')
.addFields({ name: 'μ—λŸ¬ μ½”λ“œ', value: 'CAN_NOT_USE_IN_DM' })
.setTimestamp()
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` })
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL() })
return await interaction.followUp({ embeds: [embed] })
}
}

0 comments on commit fd8a3f1

Please sign in to comment.