fix: import bug

This commit is contained in:
ikechan8370 2023-04-20 17:18:08 +08:00
parent cee033dc5e
commit 719a810aca
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import { Config } from '../config.js'
let nodejieba
try {
nodejieba = await import('nodejieba').default
nodejieba = (await import('nodejieba')).default
} catch (err) {
logger.info('未安装nodejieba娱乐功能-词云统计不可用')
}