Skip to content

Commit

Permalink
Add ButtonStyles to Constants
Browse files Browse the repository at this point in the history
*glares at bsian*
  • Loading branch information
JustCat80 committed Oct 3, 2021
1 parent d7b21a4 commit 10c37a9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
11 changes: 9 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1562,10 +1562,17 @@ declare namespace Eris {
MESSAGE: 3;
};
ComponentTypes: {
ACTION_ROW: 1;
BUTTON: 2;
ACTION_ROW: 1;
BUTTON: 2;
SELECT_MENU: 3;
};
ButtonStyles: {
PRIMARY: 1;
SECONDARY: 2;
SUCCESS: 3;
DANGER: 4;
LINK: 5;
}
}

// Selfbot
Expand Down
8 changes: 8 additions & 0 deletions lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,3 +326,11 @@ module.exports.ComponentTypes = {
BUTTON: 2,
SELECT_MENU: 3
};

module.exports.ButtonStyles = {
PRIMARY: 1,
SECONDARY: 2,
SUCCESS: 3,
DANGER: 4,
LINK: 5
};

0 comments on commit 10c37a9

Please sign in to comment.