chore: v3.29.5

This commit is contained in:
idranme
2024-08-19 17:38:42 +08:00
parent ff18937828
commit 3b3795c946
3 changed files with 2 additions and 19 deletions

View File

@@ -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)