2025-07-11 16:01:28 -04:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright 2025 Google LLC
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2025-08-26 00:04:53 +02:00
|
|
|
import type { OpenDialogActionReturn, SlashCommand } from './types.js';
|
|
|
|
|
import { CommandKind } from './types.js';
|
2025-07-11 16:01:28 -04:00
|
|
|
|
|
|
|
|
export const themeCommand: SlashCommand = {
|
|
|
|
|
name: 'theme',
|
2025-10-17 13:20:15 -07:00
|
|
|
description: 'Change the theme',
|
2025-07-20 16:57:34 -04:00
|
|
|
kind: CommandKind.BUILT_IN,
|
2025-12-01 12:29:03 -05:00
|
|
|
autoExecute: true,
|
2025-07-11 16:01:28 -04:00
|
|
|
action: (_context, _args): OpenDialogActionReturn => ({
|
|
|
|
|
type: 'dialog',
|
|
|
|
|
dialog: 'theme',
|
|
|
|
|
}),
|
|
|
|
|
};
|