(chatId: string)
| 154 | /* ===================== 白名单 / 黑名单 ===================== */ |
| 155 | |
| 156 | private isWhite(chatId: string): boolean { |
| 157 | return this.db.data.whitelist.includes(chatId); |
| 158 | } |
| 159 | |
| 160 | private isBlack(chatId: string): boolean { |
| 161 | return this.db.data.blacklist.includes(chatId); |