revert embeds to regular content responses
This commit is contained in:
@@ -250,20 +250,7 @@ export default {
|
|||||||
response.push(`**github_release_channel** has been set to ${githubReleaseChannel}.`);
|
response.push(`**github_release_channel** has been set to ${githubReleaseChannel}.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.length == 0) return interaction.editReply({
|
if (response.length == 0) return interaction.editReply({ content: 'No settings have been modified.' });
|
||||||
embeds: [{
|
interaction.editReply({ content: response.join('\n') });
|
||||||
...CreateDefaultEmbed(client),
|
|
||||||
...SetSeverity('warning'),
|
|
||||||
description: 'No settings were modified.'
|
|
||||||
}]
|
|
||||||
});
|
|
||||||
|
|
||||||
interaction.editReply({
|
|
||||||
embeds: [{
|
|
||||||
...CreateDefaultEmbed(client),
|
|
||||||
...SetSeverity('success'),
|
|
||||||
description: response.join('\n')
|
|
||||||
}]
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user