mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: return-based interaction reply edits
This commit is contained in:
1 parent
fbcd9e82e3
commit
4d9dc067af
19 files changed
+249
-306
No files matched your search
@@ -26,7 +26,7 @@ export const SKILLED_CLANS: Record<SkilledClan, string> = {
|
||||
|
||||
export default {
|
||||
inProduction: true,
|
||||
inDevelopment: false,
|
||||
inDevelopment: true,
|
||||
inPublic: false,
|
||||
|
||||
command: new SlashCommandBuilder()
|
||||
@@ -166,10 +166,6 @@ export default {
|
||||
)}`;
|
||||
}
|
||||
|
||||
await interaction.editReply({
|
||||
embeds: isEligible
|
||||
? [positiveEmbed(title, body)]
|
||||
: [negativeEmbed(title, body)],
|
||||
});
|
||||
return (isEligible ? positiveEmbed : negativeEmbed)(title, body);
|
||||
},
|
||||
} satisfies CommandRegistry;
|
||||
Reference in new issue
Block a user