mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 05:17:23 +09: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…
x
Reference in New Issue
Block a user