mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
style: reformat
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
import SendMsg from "../msg/SendMsg";
|
||||
import {ActionName, BaseCheckResult} from "../types";
|
||||
import {OB11PostSendMsg} from "../../types";
|
||||
|
||||
import {log} from "../../../common/utils/log";
|
||||
import SendMsg from '../msg/SendMsg'
|
||||
import { ActionName, BaseCheckResult } from '../types'
|
||||
import { OB11PostSendMsg } from '../../types'
|
||||
|
||||
import { log } from '../../../common/utils/log'
|
||||
|
||||
class SendGroupMsg extends SendMsg {
|
||||
actionName = ActionName.SendGroupMsg
|
||||
actionName = ActionName.SendGroupMsg
|
||||
|
||||
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
|
||||
delete payload.user_id;
|
||||
payload.message_type = "group"
|
||||
return super.check(payload);
|
||||
}
|
||||
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
|
||||
delete payload.user_id
|
||||
payload.message_type = 'group'
|
||||
return super.check(payload)
|
||||
}
|
||||
}
|
||||
|
||||
export default SendGroupMsg
|
||||
export default SendGroupMsg
|
||||
|
Reference in New Issue
Block a user