mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:48:27 +00:00
chore: Emit TypeScript declaration files so that we can type-check the extensions folder soon.
This commit is contained in:
@@ -418,7 +418,7 @@ export function createDiscordNativeCommand(params: {
|
||||
accountId: string;
|
||||
sessionPrefix: string;
|
||||
ephemeralDefault: boolean;
|
||||
}) {
|
||||
}): Command {
|
||||
const { command, cfg, discordConfig, accountId, sessionPrefix, ephemeralDefault } = params;
|
||||
const commandDefinition =
|
||||
findCommandByNativeName(command.name, "discord") ??
|
||||
@@ -449,6 +449,7 @@ export function createDiscordNativeCommand(params: {
|
||||
},
|
||||
] satisfies CommandOptions)
|
||||
: undefined;
|
||||
|
||||
return new (class extends Command {
|
||||
name = command.name;
|
||||
description = command.description;
|
||||
|
||||
Reference in New Issue
Block a user