diff --git a/adapter/index.js b/adapter/index.js index a711ebe..44f5023 100644 --- a/adapter/index.js +++ b/adapter/index.js @@ -33,7 +33,6 @@ export class atlas extends plugin { render }) if (ret === true) { - console.log('ret true') return true } } diff --git a/apps/Note.js b/apps/Note.js index a60a080..745e24f 100644 --- a/apps/Note.js +++ b/apps/Note.js @@ -149,7 +149,7 @@ export async function Note(e, { } val.percentage = ((val.dq_time / 60 / 60 * 1 / time_cha) * 100 / 10).toFixed(0) * 10; let remainedDate = new Date(val.remained_time); - val.remained_time = moment(remainedDate).format("hh:mm"); + val.remained_time = moment(remainedDate).format("HH:mm"); let Time_day = await dateTime_(remainedDate) if (moment(remainedDate).format("DD") != nowDay) { val.remained_mb2 = "明天" + Time_day + moment(remainedDate).format("hh:mm"); diff --git a/index.js b/index.js index b9f961f..9cf098a 100644 --- a/index.js +++ b/index.js @@ -11,11 +11,11 @@ let index = { } if (isV3) { index = await Data.importModule('/plugins/xiaoyao-cvs-plugin/adapter', 'index.js') - console.log(index) } export const atlas = index.atlas || {} - -console.log(`图鉴插件${currentVersion}初始化~`) +Bot.logger.info(`--------------------------`) +Bot.logger.info(`图鉴插件${currentVersion}初始化~`) +Bot.logger.info(`--------------------------`) setTimeout(async function() { let msgStr = await redis.get('xiaoyao:restart-msg')