This commit is contained in:
手瓜一十雪
2024-09-06 07:40:33 +08:00
parent 955e86103e
commit 4c1fa8301f
2 changed files with 2 additions and 13 deletions

View File

@@ -66,10 +66,7 @@ export function encodeCQCode(data: OB11MessageData) {
let result = '[CQ:' + data.type;
for (const name in data.data) {
const value =
// eslint-disable-next-line
// @ts-ignore
data.data[name];
const value = (data.data as any)[name];
if (value === undefined) {
continue;
}