mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 21:10:23 +00:00
fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user