@alemonjs/qq-bot 2.1.33 → 2.1.34

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.
Files changed (131) hide show
  1. package/README.md +46 -8
  2. package/dist/assets/index.css +1 -1
  3. package/dist/assets/index.js +12 -5
  4. package/dist/index.html +1 -1
  5. package/lib/config.d.ts +44 -19
  6. package/lib/config.js +39 -35
  7. package/lib/desktop.d.ts +4 -1
  8. package/lib/desktop.js +53 -57
  9. package/lib/format.d.ts +26 -5
  10. package/lib/format.js +84 -101
  11. package/lib/hook.d.ts +82 -65
  12. package/lib/hook.js +35 -32
  13. package/lib/index.d.ts +6 -4
  14. package/lib/index.js +13 -16
  15. package/lib/index.webhook.d.ts +4 -1
  16. package/lib/index.webhook.js +12 -14
  17. package/lib/index.websoket.d.ts +6 -3
  18. package/lib/index.websoket.js +131 -41
  19. package/lib/message/AT_MESSAGE_CREATE.d.ts +36 -33
  20. package/lib/message/AT_MESSAGE_CREATE.js +1 -1
  21. package/lib/message/CHANNEL_CREATE.d.ts +17 -14
  22. package/lib/message/CHANNEL_CREATE.js +1 -1
  23. package/lib/message/CHANNEL_DELETE.d.ts +22 -14
  24. package/lib/message/CHANNEL_DELETE.js +1 -1
  25. package/lib/message/CHANNEL_UPDATE.d.ts +22 -14
  26. package/lib/message/CHANNEL_UPDATE.js +1 -1
  27. package/lib/message/DIRECT_MESSAGE_CREATE.d.ts +35 -27
  28. package/lib/message/DIRECT_MESSAGE_CREATE.js +1 -1
  29. package/lib/message/DIRECT_MESSAGE_DELETE.d.ts +23 -15
  30. package/lib/message/DIRECT_MESSAGE_DELETE.js +1 -1
  31. package/lib/message/ERROR.d.ts +4 -1
  32. package/lib/message/ERROR.js +1 -1
  33. package/lib/message/GUILD_CREATE.d.ts +22 -14
  34. package/lib/message/GUILD_CREATE.js +1 -1
  35. package/lib/message/GUILD_DELETE.d.ts +22 -14
  36. package/lib/message/GUILD_DELETE.js +1 -1
  37. package/lib/message/GUILD_MEMBER_ADD.d.ts +21 -13
  38. package/lib/message/GUILD_MEMBER_ADD.js +1 -1
  39. package/lib/message/GUILD_MEMBER_REMOVE.d.ts +21 -13
  40. package/lib/message/GUILD_MEMBER_REMOVE.js +1 -1
  41. package/lib/message/GUILD_MEMBER_UPDATE.d.ts +21 -13
  42. package/lib/message/GUILD_MEMBER_UPDATE.js +1 -1
  43. package/lib/message/GUILD_UPDATE.d.ts +22 -14
  44. package/lib/message/GUILD_UPDATE.js +1 -1
  45. package/lib/message/INTERACTION_CREATE.d.ts +52 -44
  46. package/lib/message/INTERACTION_CREATE.js +1 -1
  47. package/lib/message/MESSAGE_CREATE.d.ts +12 -1
  48. package/lib/message/MESSAGE_CREATE.js +1 -1
  49. package/lib/message/MESSAGE_DELETE.d.ts +12 -1
  50. package/lib/message/MESSAGE_DELETE.js +1 -1
  51. package/lib/message/MESSAGE_REACTION_ADD.d.ts +15 -12
  52. package/lib/message/MESSAGE_REACTION_ADD.js +1 -1
  53. package/lib/message/MESSAGE_REACTION_REMOVE.d.ts +15 -12
  54. package/lib/message/MESSAGE_REACTION_REMOVE.js +1 -1
  55. package/lib/message/PUBLIC_MESSAGE_DELETE.d.ts +20 -13
  56. package/lib/message/PUBLIC_MESSAGE_DELETE.js +1 -1
  57. package/lib/message/READY.d.ts +11 -5
  58. package/lib/message/READY.js +1 -1
  59. package/lib/message/group/C2C_MESSAGE_CREATE.d.ts +18 -15
  60. package/lib/message/group/C2C_MESSAGE_CREATE.js +1 -1
  61. package/lib/message/group/C2C_MSG_RECEIVE.d.ts +13 -3
  62. package/lib/message/group/C2C_MSG_RECEIVE.js +1 -1
  63. package/lib/message/group/C2C_MSG_REJECT.d.ts +9 -3
  64. package/lib/message/group/C2C_MSG_REJECT.js +1 -1
  65. package/lib/message/group/FRIEND_ADD.d.ts +13 -3
  66. package/lib/message/group/FRIEND_ADD.js +1 -1
  67. package/lib/message/group/FRIEND_DEL.d.ts +9 -3
  68. package/lib/message/group/FRIEND_DEL.js +1 -1
  69. package/lib/message/group/GROUP_ADD_ROBOT.d.ts +23 -4
  70. package/lib/message/group/GROUP_ADD_ROBOT.js +1 -1
  71. package/lib/message/group/GROUP_AT_MESSAGE_CREATE.d.ts +38 -32
  72. package/lib/message/group/GROUP_AT_MESSAGE_CREATE.js +1 -1
  73. package/lib/message/group/GROUP_DEL_ROBOT.d.ts +19 -4
  74. package/lib/message/group/GROUP_DEL_ROBOT.js +1 -1
  75. package/lib/message/group/GROUP_JOIN_REQUEST.d.ts +83 -22
  76. package/lib/message/group/GROUP_JOIN_REQUEST.js +1 -1
  77. package/lib/message/group/GROUP_MEMBER_ADD.d.ts +8 -5
  78. package/lib/message/group/GROUP_MEMBER_ADD.js +1 -1
  79. package/lib/message/group/GROUP_MEMBER_REMOVE.d.ts +8 -5
  80. package/lib/message/group/GROUP_MEMBER_REMOVE.js +1 -1
  81. package/lib/message/group/GROUP_MESSAGE_CREATE.d.ts +38 -32
  82. package/lib/message/group/GROUP_MESSAGE_CREATE.js +1 -1
  83. package/lib/message/group/GROUP_MSG_RECEIVE.d.ts +14 -4
  84. package/lib/message/group/GROUP_MSG_RECEIVE.js +1 -1
  85. package/lib/message/group/GROUP_MSG_REJECT.d.ts +10 -4
  86. package/lib/message/group/GROUP_MSG_REJECT.js +1 -1
  87. package/lib/message/group/MESSAGE_AUDIT_PASS.d.ts +12 -6
  88. package/lib/message/group/MESSAGE_AUDIT_PASS.js +1 -1
  89. package/lib/message/group/MESSAGE_AUDIT_REJECT.d.ts +12 -6
  90. package/lib/message/group/MESSAGE_AUDIT_REJECT.js +1 -1
  91. package/lib/register.d.ts +12 -9
  92. package/lib/register.js +1246 -1404
  93. package/lib/sdk/api.d.ts +937 -306
  94. package/lib/sdk/api.js +1481 -893
  95. package/lib/sdk/client.webhook.d.ts +25 -8
  96. package/lib/sdk/client.webhook.js +185 -189
  97. package/lib/sdk/client.websoket.d.ts +31 -9
  98. package/lib/sdk/client.websoket.js +369 -392
  99. package/lib/sdk/config.d.ts +6 -2
  100. package/lib/sdk/config.js +9 -6
  101. package/lib/sdk/instance.d.ts +11 -3
  102. package/lib/sdk/instance.js +72 -84
  103. package/lib/sdk/intents.d.ts +89 -3
  104. package/lib/sdk/intents.js +116 -33
  105. package/lib/sdk/message.d.ts +7 -4
  106. package/lib/sdk/message.group.d.ts +38 -35
  107. package/lib/sdk/message.group.js +1 -1
  108. package/lib/sdk/message.guild.d.ts +40 -37
  109. package/lib/sdk/message.guild.js +1 -1
  110. package/lib/sdk/message.js +1 -1
  111. package/lib/sdk/message.public.d.ts +8 -5
  112. package/lib/sdk/message.public.js +1 -1
  113. package/lib/sdk/qr-auth.d.ts +55 -0
  114. package/lib/sdk/qr-auth.js +169 -0
  115. package/lib/sdk/registry.d.ts +34 -24
  116. package/lib/sdk/registry.js +134 -114
  117. package/lib/sdk/session.d.ts +19 -15
  118. package/lib/sdk/session.js +51 -54
  119. package/lib/sdk/typing.d.ts +410 -184
  120. package/lib/sdk/typing.js +1 -1
  121. package/lib/sdk/webhook.secret.d.ts +33 -13
  122. package/lib/sdk/webhook.secret.js +50 -36
  123. package/lib/sends.d.ts +42 -25
  124. package/lib/sends.js +519 -541
  125. package/lib/types.d.ts +52 -41
  126. package/lib/types.js +1 -1
  127. package/lib/upload.d.ts +47 -18
  128. package/lib/upload.js +80 -51
  129. package/lib/utils.d.ts +9 -1
  130. package/lib/utils.js +10 -5
  131. package/package.json +9 -6
@@ -1,15 +1,23 @@
1
- export type CHANNEL_DELETE_TYPE = {
2
- application_id?: string;
3
- guild_id: string;
4
- id: string;
5
- name: string;
6
- op_user_id: string;
7
- owner_id: string;
8
- parent_id?: string;
9
- permissions?: string;
10
- position?: number;
11
- private_type: number;
12
- speak_permission: number;
13
- sub_type: number;
14
- type: number;
1
+ //#region src/message/CHANNEL_DELETE.d.ts
2
+ /**
3
+ * 子频道删除
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type CHANNEL_DELETE_TYPE = {
8
+ application_id?: string;
9
+ guild_id: string;
10
+ id: string;
11
+ name: string;
12
+ op_user_id: string;
13
+ owner_id: string;
14
+ parent_id?: string;
15
+ permissions?: string;
16
+ position?: number;
17
+ private_type: number;
18
+ speak_permission: number;
19
+ sub_type: number;
20
+ type: number;
15
21
  };
22
+ //#endregion
23
+ export { CHANNEL_DELETE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,15 +1,23 @@
1
- export type CHANNEL_UPDATE_TYPE = {
2
- application_id?: string;
3
- guild_id: string;
4
- id: string;
5
- name: string;
6
- op_user_id: string;
7
- owner_id: string;
8
- parent_id?: string;
9
- permissions?: string;
10
- position?: number;
11
- private_type: number;
12
- speak_permission: number;
13
- sub_type: number;
14
- type: number;
1
+ //#region src/message/CHANNEL_UPDATE.d.ts
2
+ /**
3
+ * 子频道更新
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type CHANNEL_UPDATE_TYPE = {
8
+ application_id?: string;
9
+ guild_id: string;
10
+ id: string;
11
+ name: string;
12
+ op_user_id: string;
13
+ owner_id: string;
14
+ parent_id?: string;
15
+ permissions?: string;
16
+ position?: number;
17
+ private_type: number;
18
+ speak_permission: number;
19
+ sub_type: number;
20
+ type: number;
15
21
  };
22
+ //#endregion
23
+ export { CHANNEL_UPDATE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,29 +1,37 @@
1
- export type DIRECT_MESSAGE_CREATE_TYPE = {
2
- attachments?: {
3
- content_type: string;
4
- filename: string;
5
- height: number;
6
- id: string;
7
- size: number;
8
- url: string;
9
- width: number;
10
- }[];
11
- author: {
12
- avatar: string;
13
- bot: boolean;
14
- id: string;
15
- username: string;
16
- };
17
- channel_id: string;
18
- content: string;
19
- direct_message: boolean;
20
- guild_id: string;
1
+ //#region src/message/DIRECT_MESSAGE_CREATE.d.ts
2
+ /**
3
+ * 私信
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type DIRECT_MESSAGE_CREATE_TYPE = {
8
+ attachments?: {
9
+ content_type: string;
10
+ filename: string;
11
+ height: number;
21
12
  id: string;
22
- member: {
23
- joined_at: string;
24
- };
25
- seq: number;
26
- seq_in_channel: string;
27
- src_guild_id: string;
28
- timestamp: string;
13
+ size: number;
14
+ url: string;
15
+ width: number;
16
+ }[];
17
+ author: {
18
+ avatar: string;
19
+ bot: boolean;
20
+ id: string;
21
+ username: string;
22
+ };
23
+ channel_id: string;
24
+ content: string;
25
+ direct_message: boolean;
26
+ guild_id: string;
27
+ id: string;
28
+ member: {
29
+ joined_at: string;
30
+ };
31
+ seq: number;
32
+ seq_in_channel: string;
33
+ src_guild_id: string;
34
+ timestamp: string;
29
35
  };
36
+ //#endregion
37
+ export { DIRECT_MESSAGE_CREATE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,17 +1,25 @@
1
- export type DIRECT_MESSAGE_DELETE_TYPE = {
2
- message: {
3
- author: {
4
- bot: boolean;
5
- id: string;
6
- username: string;
7
- };
8
- channel_id: string;
9
- direct_message: boolean;
10
- guild_id: string;
11
- id: string;
12
- src_guild_id: string;
13
- };
14
- op_user: {
15
- id: string;
1
+ //#region src/message/DIRECT_MESSAGE_DELETE.d.ts
2
+ /**
3
+ * *
4
+ * 私信
5
+ * *
6
+ */
7
+ type DIRECT_MESSAGE_DELETE_TYPE = {
8
+ message: {
9
+ author: {
10
+ bot: boolean;
11
+ id: string;
12
+ username: string;
16
13
  };
14
+ channel_id: string;
15
+ direct_message: boolean;
16
+ guild_id: string;
17
+ id: string;
18
+ src_guild_id: string;
19
+ };
20
+ op_user: {
21
+ id: string;
22
+ };
17
23
  };
24
+ //#endregion
25
+ export { DIRECT_MESSAGE_DELETE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1 +1,4 @@
1
- export type ERROR_TYPE = any;
1
+ //#region src/message/ERROR.d.ts
2
+ type ERROR_TYPE = any;
3
+ //#endregion
4
+ export { ERROR_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,15 +1,23 @@
1
- export type GUILD_CREATE_TYPE = {
2
- description: string;
3
- icon: string;
4
- id: string;
5
- joined_at: string;
6
- max_members: number;
7
- member_count: number;
8
- name: string;
9
- op_user_id: string;
10
- owner: boolean;
11
- owner_id: string;
12
- union_appid: string;
13
- union_org_id: string;
14
- union_world_id: string;
1
+ //#region src/message/GUILD_CREATE.d.ts
2
+ /**
3
+ * 机器人加入
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type GUILD_CREATE_TYPE = {
8
+ description: string;
9
+ icon: string;
10
+ id: string;
11
+ joined_at: string;
12
+ max_members: number;
13
+ member_count: number;
14
+ name: string;
15
+ op_user_id: string;
16
+ owner: boolean;
17
+ owner_id: string;
18
+ union_appid: string;
19
+ union_org_id: string;
20
+ union_world_id: string;
15
21
  };
22
+ //#endregion
23
+ export { GUILD_CREATE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,15 +1,23 @@
1
- export type GUILD_DELETE_TYPE = {
2
- description: string;
3
- icon: string;
4
- id: string;
5
- joined_at: string;
6
- max_members: number;
7
- member_count: number;
8
- name: string;
9
- op_user_id: string;
10
- owner: boolean;
11
- owner_id: string;
12
- union_appid: string;
13
- union_org_id: string;
14
- union_world_id: string;
1
+ //#region src/message/GUILD_DELETE.d.ts
2
+ /**
3
+ * 机器人退出频道
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type GUILD_DELETE_TYPE = {
8
+ description: string;
9
+ icon: string;
10
+ id: string;
11
+ joined_at: string;
12
+ max_members: number;
13
+ member_count: number;
14
+ name: string;
15
+ op_user_id: string;
16
+ owner: boolean;
17
+ owner_id: string;
18
+ union_appid: string;
19
+ union_org_id: string;
20
+ union_world_id: string;
15
21
  };
22
+ //#endregion
23
+ export { GUILD_DELETE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,14 +1,22 @@
1
- export type GUILD_MEMBER_ADD_TYPE = {
2
- guild_id: string;
3
- joined_at: string;
4
- nick: string;
5
- op_user_id: string;
6
- roles: string[];
7
- source_type?: string;
8
- user: {
9
- avatar: string;
10
- bot: number;
11
- id: string;
12
- username: string;
13
- };
1
+ //#region src/message/GUILD_MEMBER_ADD.d.ts
2
+ /**
3
+ * 当成员加入时
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type GUILD_MEMBER_ADD_TYPE = {
8
+ guild_id: string;
9
+ joined_at: string;
10
+ nick: string;
11
+ op_user_id: string;
12
+ roles: string[];
13
+ source_type?: string;
14
+ user: {
15
+ avatar: string;
16
+ bot: number;
17
+ id: string;
18
+ username: string;
19
+ };
14
20
  };
21
+ //#endregion
22
+ export { GUILD_MEMBER_ADD_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,14 +1,22 @@
1
- export type GUILD_MEMBER_REMOVE_TYPE = {
2
- guild_id: string;
3
- joined_at: string;
4
- nick: string;
5
- op_user_id: string;
6
- roles: string[];
7
- source_type?: string;
8
- user: {
9
- avatar: string;
10
- bot: number;
11
- id: string;
12
- username: string;
13
- };
1
+ //#region src/message/GUILD_MEMBER_REMOVE.d.ts
2
+ /**
3
+ * 当成员被移除时
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type GUILD_MEMBER_REMOVE_TYPE = {
8
+ guild_id: string;
9
+ joined_at: string;
10
+ nick: string;
11
+ op_user_id: string;
12
+ roles: string[];
13
+ source_type?: string;
14
+ user: {
15
+ avatar: string;
16
+ bot: number;
17
+ id: string;
18
+ username: string;
19
+ };
14
20
  };
21
+ //#endregion
22
+ export { GUILD_MEMBER_REMOVE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,14 +1,22 @@
1
- export type GUILD_MEMBER_UPDATE_TYPE = {
2
- guild_id: string;
3
- joined_at: string;
4
- nick: string;
5
- op_user_id: string;
6
- roles: string[];
7
- source_type?: string;
8
- user: {
9
- avatar: string;
10
- bot: number;
11
- id: string;
12
- username: string;
13
- };
1
+ //#region src/message/GUILD_MEMBER_UPDATE.d.ts
2
+ /**
3
+ * 当成员资料变更时
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type GUILD_MEMBER_UPDATE_TYPE = {
8
+ guild_id: string;
9
+ joined_at: string;
10
+ nick: string;
11
+ op_user_id: string;
12
+ roles: string[];
13
+ source_type?: string;
14
+ user: {
15
+ avatar: string;
16
+ bot: number;
17
+ id: string;
18
+ username: string;
19
+ };
14
20
  };
21
+ //#endregion
22
+ export { GUILD_MEMBER_UPDATE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,15 +1,23 @@
1
- export type GUILD_UPDATE_TYPE = {
2
- description: string;
3
- icon: string;
4
- id: string;
5
- joined_at: string;
6
- max_members: number;
7
- member_count: number;
8
- name: string;
9
- op_user_id: string;
10
- owner: boolean;
11
- owner_id: string;
12
- union_appid: string;
13
- union_org_id: string;
14
- union_world_id: string;
1
+ //#region src/message/GUILD_UPDATE.d.ts
2
+ /**
3
+ * 信息更新
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type GUILD_UPDATE_TYPE = {
8
+ description: string;
9
+ icon: string;
10
+ id: string;
11
+ joined_at: string;
12
+ max_members: number;
13
+ member_count: number;
14
+ name: string;
15
+ op_user_id: string;
16
+ owner: boolean;
17
+ owner_id: string;
18
+ union_appid: string;
19
+ union_org_id: string;
20
+ union_world_id: string;
15
21
  };
22
+ //#endregion
23
+ export { GUILD_UPDATE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,53 +1,61 @@
1
- export type INTERACTION_CREATE_TYPE = {
2
- application_id: string;
3
- chat_type: 1;
4
- data: {
5
- resolved: {
6
- button_data: string;
7
- button_id: number;
8
- };
9
- type: number;
1
+ //#region src/message/INTERACTION_CREATE.d.ts
2
+ /**
3
+ * 交互消息事件 | 按钮消息
4
+ * @param event
5
+ * @returns
6
+ */
7
+ type INTERACTION_CREATE_TYPE = {
8
+ application_id: string;
9
+ chat_type: 1;
10
+ data: {
11
+ resolved: {
12
+ button_data: string;
13
+ button_id: number;
10
14
  };
11
- group_member_openid: string;
12
- group_openid: string;
13
- id: string;
14
- scene: 'group';
15
- timestamp: string;
16
15
  type: number;
17
- version: number;
16
+ };
17
+ group_member_openid: string;
18
+ group_openid: string;
19
+ id: string;
20
+ scene: 'group';
21
+ timestamp: string;
22
+ type: number;
23
+ version: number;
18
24
  } | {
19
- application_id: string;
20
- chat_type: 2;
21
- data: {
22
- resolved: {
23
- button_data: string;
24
- button_id: number;
25
- };
26
- type: number;
25
+ application_id: string;
26
+ chat_type: 2;
27
+ data: {
28
+ resolved: {
29
+ button_data: string;
30
+ button_id: number;
27
31
  };
28
- id: string;
29
- scene: 'c2c';
30
- timestamp: string;
31
32
  type: number;
32
- user_openid: string;
33
- version: number;
33
+ };
34
+ id: string;
35
+ scene: 'c2c';
36
+ timestamp: string;
37
+ type: number;
38
+ user_openid: string;
39
+ version: number;
34
40
  } | {
35
- application_id: string;
36
- chat_type: 0;
37
- data: {
38
- resolved: {
39
- message_id: string;
40
- button_data: string;
41
- button_id: number;
42
- user_id: string;
43
- };
44
- type: number;
41
+ application_id: string;
42
+ chat_type: 0;
43
+ data: {
44
+ resolved: {
45
+ message_id: string;
46
+ button_data: string;
47
+ button_id: number;
48
+ user_id: string;
45
49
  };
46
- id: string;
47
- scene: 'guild';
48
- timestamp: string;
49
50
  type: number;
50
- guild_id: string;
51
- channel_id: string;
52
- version: number;
51
+ };
52
+ id: string;
53
+ scene: 'guild';
54
+ timestamp: string;
55
+ type: number;
56
+ guild_id: string;
57
+ channel_id: string;
58
+ version: number;
53
59
  };
60
+ //#endregion
61
+ export { INTERACTION_CREATE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1 +1,12 @@
1
- export type MESSAGE_CREATE_TYPE = any;
1
+ //#region src/message/MESSAGE_CREATE.d.ts
2
+ /**
3
+ * *私域*
4
+ */
5
+ /**
6
+ * 频道内的全部消息
7
+ * @param event
8
+ * @returns
9
+ */
10
+ type MESSAGE_CREATE_TYPE = any;
11
+ //#endregion
12
+ export { MESSAGE_CREATE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1 +1,12 @@
1
- export type MESSAGE_DELETE_TYPE = any;
1
+ //#region src/message/MESSAGE_DELETE.d.ts
2
+ /**
3
+ * *私域*
4
+ */
5
+ /**
6
+ * 删除(撤回)消息事件
7
+ * @param event
8
+ * @returns
9
+ */
10
+ type MESSAGE_DELETE_TYPE = any;
11
+ //#endregion
12
+ export { MESSAGE_DELETE_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };
@@ -1,13 +1,16 @@
1
- export type MESSAGE_REACTION_ADD_TYPE = {
2
- channel_id: string;
3
- emoji: {
4
- id: string;
5
- type: number;
6
- };
7
- guild_id: string;
8
- target: {
9
- id: string;
10
- type: string;
11
- };
12
- user_id: string;
1
+ //#region src/message/MESSAGE_REACTION_ADD.d.ts
2
+ type MESSAGE_REACTION_ADD_TYPE = {
3
+ channel_id: string;
4
+ emoji: {
5
+ id: string;
6
+ type: number;
7
+ };
8
+ guild_id: string;
9
+ target: {
10
+ id: string;
11
+ type: string;
12
+ };
13
+ user_id: string;
13
14
  };
15
+ //#endregion
16
+ export { MESSAGE_REACTION_ADD_TYPE };
@@ -1 +1 @@
1
-
1
+ export { };