박건희

Merge branch 'translator' into 'master'

......@@ -80,6 +80,29 @@ exports.run = async (client, msg, args, prefix) => {
global.trans_var ='en';
trans_disabled_var('en');
}
interaction.update({
components: [
new MessageActionRow()
.addComponents(
new MessageButton()
.setCustomId('korean')
.setLabel(label_var.ko)
.setStyle('PRIMARY')
.setDisabled(disabled_var.ko),
new MessageButton()
.setCustomId('japanese')
.setLabel(label_var.jp)
.setStyle('PRIMARY')
.setDisabled(disabled_var.jp),
new MessageButton()
.setCustomId('english')
.setLabel(label_var.en)
.setStyle('PRIMARY')
.setDisabled(disabled_var.en),
)
]
})
});
};
......
......@@ -63,4 +63,4 @@ exports.config = {
category: ['Translate'],
des: ['채팅 내용에 대한 검색결과를 보여줍니다.'],
use: ['!번역 <채팅>']
};
\ No newline at end of file
};
......