Skip to content

Commit

Permalink
Release 0.2.25
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions autocommiter committed Jan 20, 2025
1 parent 732ef5e commit de12b71
Show file tree
Hide file tree
Showing 18 changed files with 665 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lib/Bot/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Context, Probot } from "probot";
import { CommentParser } from '../CommentParser';
import { Responder } from "../Responder";
import { SnippetResolver } from "../SnippetResolver";
export declare class Bot {
parser: CommentParser;
resolver: SnippetResolver;
responder: Responder;
responses: Map<number, number>;
constructor(parser: CommentParser, resolver: SnippetResolver, responder: Responder);
onIssueOpened(context: Context<'issues.opened'>): Promise<void>;
onIssueCommentCreated(context: Context<'issue_comment.created'>): Promise<void>;
onIssueEdited(context: Context<'issues.edited'>): Promise<void>;
onIssueCommentEdited(context: Context<'issue_comment.edited'>): Promise<void>;
onIssueCommentDeleted(context: Context<'issue_comment.deleted'>): Promise<void>;
onPullRequestOpened(context: Context<'pull_request.opened'>): Promise<void>;
onPullRequestEdited(context: Context<'pull_request.edited'>): Promise<void>;
private greet;
private respond;
private updateResponse;
private deleteResponse;
private makeResponse;
}
export declare class BotFactory {
static make(app: Probot): Bot;
}
299 changes: 299 additions & 0 deletions lib/Bot/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/Bot/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit de12b71

Please sign in to comment.