diff --git a/src/index.ts b/src/index.ts index d97bd739..db49858c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -387,10 +387,13 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { } return []; }, - prompt: async (args) => { - await ctx.client.session.prompt(args); - }, - }, + prompt: async (args) => { + await ctx.client.session.promptAsync(args); + }, + promptAsync: async (args) => { + await ctx.client.session.promptAsync(args); + }, + }, }, }, {