박건희

Merge branch 'translator' into 'master'

......@@ -81,6 +81,29 @@ exports.run = async (client, msg, args, prefix) => {
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),
)
]
})
});
};
......