박건희

Merge branch 'translator' into 'master'

...@@ -81,6 +81,29 @@ exports.run = async (client, msg, args, prefix) => { ...@@ -81,6 +81,29 @@ exports.run = async (client, msg, args, prefix) => {
81 trans_disabled_var('en'); 81 trans_disabled_var('en');
82 } 82 }
83 83
84 + interaction.update({
85 + components: [
86 + new MessageActionRow()
87 + .addComponents(
88 + new MessageButton()
89 + .setCustomId('korean')
90 + .setLabel(label_var.ko)
91 + .setStyle('PRIMARY')
92 + .setDisabled(disabled_var.ko),
93 + new MessageButton()
94 + .setCustomId('japanese')
95 + .setLabel(label_var.jp)
96 + .setStyle('PRIMARY')
97 + .setDisabled(disabled_var.jp),
98 + new MessageButton()
99 + .setCustomId('english')
100 + .setLabel(label_var.en)
101 + .setStyle('PRIMARY')
102 + .setDisabled(disabled_var.en),
103 + )
104 + ]
105 + })
106 +
84 }); 107 });
85 }; 108 };
86 109
......