mirror of
https://github.com/syuilo/ai.git
synced 2024-12-22 08:21:08 +00:00
Refactor
This commit is contained in:
parent
6a0a05ab09
commit
8d0992d8d5
|
@ -144,11 +144,7 @@ export default class CoreModule implements IModule {
|
|||
if (!msg.text.includes('なでなで')) return false;
|
||||
|
||||
//#region 1日に1回だけ親愛度を上げる
|
||||
const now = new Date();
|
||||
const y = now.getFullYear();
|
||||
const m = now.getMonth();
|
||||
const d = now.getDate();
|
||||
const today = `${y}/${m + 1}/${d}`;
|
||||
const today = getDate();
|
||||
|
||||
const data = msg.friend.getPerModulesData(this);
|
||||
|
||||
|
|
Loading…
Reference in a new issue