do NOT kick members on survey deny
This commit is contained in:
parent
fc50b90562
commit
19dd95e22c
|
@ -633,7 +633,6 @@ module.exports = {
|
||||||
const id = interaction.customId.split('-')[3];
|
const id = interaction.customId.split('-')[3];
|
||||||
|
|
||||||
if (!approve) {
|
if (!approve) {
|
||||||
(await interaction.guild?.members.fetch(id))!.kick();
|
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
content: `${member} denied the application.`,
|
content: `${member} denied the application.`,
|
||||||
ephemeral: false
|
ephemeral: false
|
||||||
|
|
Loading…
Reference in New Issue