mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-08-06 21:03:57 +09:00
Refactor
This commit is contained in:
@ -144,11 +144,7 @@ export default class CoreModule implements IModule {
|
|||||||
if (!msg.text.includes('なでなで')) return false;
|
if (!msg.text.includes('なでなで')) return false;
|
||||||
|
|
||||||
//#region 1日に1回だけ親愛度を上げる
|
//#region 1日に1回だけ親愛度を上げる
|
||||||
const now = new Date();
|
const today = getDate();
|
||||||
const y = now.getFullYear();
|
|
||||||
const m = now.getMonth();
|
|
||||||
const d = now.getDate();
|
|
||||||
const today = `${y}/${m + 1}/${d}`;
|
|
||||||
|
|
||||||
const data = msg.friend.getPerModulesData(this);
|
const data = msg.friend.getPerModulesData(this);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user