mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 08:20:27 +00:00
fix: 修复lint错误 - 标准化代码风格
- 将 == 改为 === 进行严格相等检查 - 修复未使用的变量,改为 _varName 格式 - 移除箭头函数中缺少的返回值 - 将 void 改为 undefined - 移除无用的构造函数 - 修复 Promise 参数命名规范 - 移除不必要的转义符 - 添加 Service Worker 全局变量声明 - 修复未使用的类型参数
This commit is contained in:
@@ -27,10 +27,12 @@ export class ClickInlineKeyboardButton extends OneBotAction<PayloadType, ReturnT
|
||||
bot_appid: '1234567890',
|
||||
button_id: 'btn_1',
|
||||
callback_data: '',
|
||||
msg_seq: '10086'
|
||||
msg_seq: '10086',
|
||||
};
|
||||
|
||||
override returnExample = {
|
||||
};
|
||||
|
||||
async _handle (payload: PayloadType) {
|
||||
return await this.core.apis.MsgApi.clickInlineKeyboardButton({
|
||||
buttonId: payload.button_id,
|
||||
|
||||
Reference in New Issue
Block a user