forked from syntaxbullet/AuroraBot-discord
fix: address security review findings, implement real cache clearing, and fix lifecycle promises
This commit is contained in:
@@ -241,3 +241,8 @@ export const handleItemWizardInteraction = async (interaction: Interaction) => {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
export const clearDraftSessions = () => {
|
||||
draftSession.clear();
|
||||
console.log("[ItemWizard] All draft item creation sessions cleared.");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user