updated '/auth' to use new slash command arch (#3797)

Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
This commit is contained in:
haroldmciver-go 2025-07-14 12:22:37 -04:00 committed by GitHub
parent 80c81f2a4c
commit c313c3dee1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 96 additions and 12 deletions

View file

@ -0,0 +1,16 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { OpenDialogActionReturn, SlashCommand } from './types.js';
export const authCommand: SlashCommand = {
name: 'auth',
description: 'change the auth method',
action: (_context, _args): OpenDialogActionReturn => ({
type: 'dialog',
dialog: 'auth',
}),
};