import { SlashCommand } from "../.."; import EditSlashCommand from "./edit"; const CommentSlashCommand: SlashCommand = { name: "comment", description: "Write comments for highlighted code", run: async function* (sdk) { for await (const update of EditSlashCommand.run({ ...sdk, input: "Write comments for this code", })) { yield update; } }, }; export default CommentSlashCommand;