File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,16 @@ import { IModify } from "@rocket.chat/apps-engine/definition/accessors";
22import { IRoom } from "@rocket.chat/apps-engine/definition/rooms" ;
33import { IUser } from "@rocket.chat/apps-engine/definition/users" ;
44
5+ /**
6+ * Handles the response of a command.
7+ *
8+ * @param args - The arguments passed to the command.
9+ * @param sender - The user who sent the command.
10+ * @param room - The room where the command was sent.
11+ * @param modify - The modify object used to interact with the Rocket.Chat API.
12+ * @param command - The command that was executed.
13+ * @returns A function that can be used to update the response message with a new message and optional image attachments.
14+ */
515export async function handleCommandResponse (
616 args : string ,
717 sender : IUser ,
You can’t perform that action at this time.
0 commit comments