alemonjs 2.1.21 → 2.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,8 +31,8 @@ declare class FormatMarkDown {
31
31
  export declare class Format {
32
32
  #private;
33
33
  static create(): Format;
34
- createMarkdown(): FormatMarkDown;
35
- createButtonGroup(): FormatButtonGroup;
34
+ static createMarkdown(): FormatMarkDown;
35
+ static createButtonGroup(): FormatButtonGroup;
36
36
  get value(): DataEnums[];
37
37
  addText(...args: Parameters<typeof Text>): this;
38
38
  addTextBreak(): this;
@@ -107,10 +107,10 @@ class Format {
107
107
  static create() {
108
108
  return new Format();
109
109
  }
110
- createMarkdown() {
110
+ static createMarkdown() {
111
111
  return new FormatMarkDown();
112
112
  }
113
- createButtonGroup() {
113
+ static createButtonGroup() {
114
114
  return new FormatButtonGroup();
115
115
  }
116
116
  get value() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alemonjs",
3
- "version": "2.1.21",
3
+ "version": "2.1.22",
4
4
  "description": "bot script",
5
5
  "author": "lemonade",
6
6
  "license": "MIT",