Skip to content

Commit

Permalink
fix: wording
Browse files Browse the repository at this point in the history
Co-authored-by: アレクサンダー.eth <[email protected]>
  • Loading branch information
whilefoo and 0x4007 authored Sep 26, 2023
1 parent 8542538 commit 31f8e80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/handlers/comment/handlers/ask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const ask = async (body: string) => {
}

if (!issue) {
return `This command can only be used on issues on pull requests`;
return `This command can only be used on issues or pull requests`;
}

const chatHistory: CreateChatCompletionRequestMessage[] = [];
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/comment/handlers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export const userCommands = (): UserCommands[] => {
},
{
id: IssueCommentCommands.ASK,
description: `Ask a technical question to the UbiquiBot. \n example usage: "/ask How do I do X?"`,
description: `Ask a technical question to UbiquiBot. \n example usage: "/ask How do I do X?"`,
handler: ask,
callback: commandCallback,
},
Expand Down

0 comments on commit 31f8e80

Please sign in to comment.