Skip to content

Commit

Permalink
fix: include BaseDiscordMenuFlow types
Browse files Browse the repository at this point in the history
  • Loading branch information
some1chan committed Aug 31, 2022
1 parent 8fcd189 commit 212177c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export interface BaseDiscordMenuFlowSelectMenuHandleOptions {
/**
* Should this function throw a PageNotFoundError,
* if a page wasn't found? If true, the default
* error message will not send, and should be handled
* by the bot developer.
* @default false
*/
returnPageNotFoundError?: boolean;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { PageNotFoundError } from "../structures/errors/PageNotFoundError";

export interface BaseDiscordMenuFlowSelectMenuReturnOptions {
pageNotFoundError?: PageNotFoundError;
passthrough?: boolean;
}

0 comments on commit 212177c

Please sign in to comment.