Skip to content

Commit

Permalink
chore: appendedComponents getter
Browse files Browse the repository at this point in the history
  • Loading branch information
egorprnn committed Sep 27, 2021
1 parent d2e98f7 commit 509b57f
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions docs/classes/PagesBuilder.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord.js-pages",
"version": "1.3.2",
"version": "1.3.3",
"description": "Dynamic pages pagination module for discord.js",
"scripts": {
"build": "tsc && babel build --out-dir lib --copy-files",
Expand Down
10 changes: 8 additions & 2 deletions src/PagesBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import {
GuildMember,
InteractionCollector,
Message,
MessageActionRow, MessageActionRowComponent,
MessageActionRow,
MessageActionRowComponent,
MessageButton,
MessageComponentInteraction,
MessageEmbed,
MessageOptions, MessageSelectMenu,
MessageOptions,
MessageSelectMenu,
TextBasedChannels,
WebhookEditMessageOptions
} from 'discord.js';
Expand Down Expand Up @@ -500,6 +502,10 @@ export class PagesBuilder extends MessageEmbed {
return this;
}

get appendedComponents(): PagesBuilder['components'] {
return this.components;
}

/**
* Method for initial setting of triggers
*/
Expand Down

0 comments on commit 509b57f

Please sign in to comment.