mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
chore: v3.29.5
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"name": "LLOneBot",
|
"name": "LLOneBot",
|
||||||
"slug": "LLOneBot",
|
"slug": "LLOneBot",
|
||||||
"description": "实现 OneBot 11 协议,用于 QQ 机器人开发",
|
"description": "实现 OneBot 11 协议,用于 QQ 机器人开发",
|
||||||
"version": "3.29.4",
|
"version": "3.29.5",
|
||||||
"icon": "./icon.webp",
|
"icon": "./icon.webp",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
@@ -1,17 +0,0 @@
|
|||||||
import { Level } from 'level'
|
|
||||||
|
|
||||||
const db = new Level(process.env['level_db_path'] as string, { valueEncoding: 'json' })
|
|
||||||
|
|
||||||
async function getGroupNotify() {
|
|
||||||
let keys = await db.keys().all()
|
|
||||||
let result: string[] = []
|
|
||||||
for (const key of keys) {
|
|
||||||
// console.log(key)
|
|
||||||
if (key.startsWith('group_notify_')) {
|
|
||||||
result.push(key)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
getGroupNotify().then(console.log)
|
|
@@ -1 +1 @@
|
|||||||
export const version = '3.29.4'
|
export const version = '3.29.5'
|
||||||
|
Reference in New Issue
Block a user