alemonjs 2.1.28 → 2.1.29

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.
@@ -119,9 +119,9 @@ Markdown.text = (text) => {
119
119
  Markdown.mention = (uid, options) => {
120
120
  return {
121
121
  type: 'MD.mention',
122
- value: uid || '',
122
+ value: uid || 'everyone',
123
123
  options: options ?? {
124
- belong: 'all'
124
+ belong: 'user'
125
125
  }
126
126
  };
127
127
  };
@@ -4,9 +4,9 @@ export type DataMarkdownText = {
4
4
  };
5
5
  export type DataMarkdownMention = {
6
6
  type: 'MD.mention';
7
- value?: string;
7
+ value?: string | 'everyone';
8
8
  options?: {
9
- belong?: 'user' | 'channel' | 'all';
9
+ belong?: 'user' | 'channel';
10
10
  };
11
11
  };
12
12
  export type DataMarkdownContent = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alemonjs",
3
- "version": "2.1.28",
3
+ "version": "2.1.29",
4
4
  "description": "bot script",
5
5
  "author": "lemonade",
6
6
  "license": "MIT",