feat: add /new as alias for /clear and refine command description (#17865)

This commit is contained in:
Vedant Mahajan
2026-04-22 01:34:40 +05:30
committed by GitHub
parent c47233a474
commit 189c0ac0a0
+3 -2
View File
@@ -16,8 +16,9 @@ import { MessageType } from '../types.js';
import { randomUUID } from 'node:crypto';
export const clearCommand: SlashCommand = {
name: 'clear',
description: 'Clear the screen and conversation history',
name: 'clear (new)',
altNames: ['new'],
description: 'Clear the screen and start a new session',
kind: CommandKind.BUILT_IN,
autoExecute: true,
action: async (context, _args) => {