revert embeds to regular content responses

This commit is contained in:
Nix Krystik
2026-05-29 21:39:06 +08:00
parent 189e4319ad
commit dfc6196e67
+2 -15
View File
@@ -250,20 +250,7 @@ export default {
response.push(`**github_release_channel** has been set to ${githubReleaseChannel}.`);
}
if (response.length == 0) return interaction.editReply({
embeds: [{
...CreateDefaultEmbed(client),
...SetSeverity('warning'),
description: 'No settings were modified.'
}]
});
interaction.editReply({
embeds: [{
...CreateDefaultEmbed(client),
...SetSeverity('success'),
description: response.join('\n')
}]
});
if (response.length == 0) return interaction.editReply({ content: 'No settings have been modified.' });
interaction.editReply({ content: response.join('\n') });
}
};