style: code lint

This commit is contained in:
手瓜一十雪 committed 2024-07-13 18:12:38 +08:00
1 parent 0afbbe7c7a
commit cc34aef47e
7 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
}
protected async _handle(payload: OB11PostSendMsg): Promise<{ message_id: number }> {
let { peer, group } = await createContext(payload, this.contextMode);
const { peer, group } = await createContext(payload, this.contextMode);
const messages = normalize(
payload.message,
+1 -1
View File
@@ -87,7 +87,7 @@ export class ReverseWebsocket {
'X-Self-ID': selfInfo.uin,
'Authorization': `Bearer ${token}`,
'x-client-role': 'Universal', // koishi-adapter-onebot 需要这个字段
"User-Agent": "OneBot/11",
'User-Agent': 'OneBot/11',
}
});
registerWsEventSender(this.websocket);
+1 -1
View File
@@ -60,7 +60,7 @@ export enum OB11MessageDataType {
dice = 'dice',
RPS = 'rps',
miniapp = 'miniapp',//json类
Location = "location"
Location = 'location'
}
export interface OB11MessageMFace {