Skip to content

Commit

Permalink
fix: 修复铃状态显示的版本错误
Browse files Browse the repository at this point in the history
  • Loading branch information
yusheng929 committed Aug 28, 2024
1 parent 08fd37b commit aff2549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/State/OtherInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import path from 'path'
import { Version } from '#components'
import moment from 'moment'
import { osInfo, si } from './utils.js'
import { logger } from 'node-karin'
import { logger, Cfg } from 'node-karin'

let loader = null
try {
Expand Down Expand Up @@ -75,7 +75,7 @@ function getPluginNum (e) {

export async function getCopyright () {
const { node, v8, git, redis } = await si.versions('node,v8,git,redis')
let v = `Created By ${Version.BotName}<span class="version">${Version.BotVersion}</span> & ${Version.pluginName}<span class="version">v${Version.version}</span>`
let v = `Created By Karin<span class="version">${Cfg.package.version}</span> & ${Version.pluginName}<span class="version">v${Version.version}</span>`
v += '<br>'
v += `Node <span class="version">v${node}</span> & V8 <span class="version">v${v8}</span>`
if (git) {
Expand Down

0 comments on commit aff2549

Please sign in to comment.