mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 05:08:00 +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;
|
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue