Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/irandeno/interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
disizali committed Jul 13, 2020
2 parents 19fdcc0 + 095fbfe commit 44075f0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/core/interact.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
export enum InteractType {
any,
/* todo :
number,
alphabetical,
choice,
checklist,
*/
}

export interface InteractOptions {
name: string;
message?: string;
type?: InteractType;
prefix?: string;
suffix?: string;
bold?: boolean;
options?: Array<string>;
}

export class Interact implements InteractOptions {
name: string;
type: InteractType = InteractType.any;
message?: string;
prefix?: string;
suffix?: string;
bold?: boolean;
options?: Array<string>;
}

0 comments on commit 44075f0

Please sign in to comment.