17 lines
362 B
TypeScript
17 lines
362 B
TypeScript
|
|
/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2025 Google LLC
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
import { OpenDialogActionReturn, SlashCommand } from './types.js';
|
||
|
|
|
||
|
|
export const privacyCommand: SlashCommand = {
|
||
|
|
name: 'privacy',
|
||
|
|
description: 'display the privacy notice',
|
||
|
|
action: (): OpenDialogActionReturn => ({
|
||
|
|
type: 'dialog',
|
||
|
|
dialog: 'privacy',
|
||
|
|
}),
|
||
|
|
};
|