mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 09:27:19 +09:00
Update index.ts
This commit is contained in:
parent
fea34f066c
commit
4c378ebf7a
@ -158,7 +158,7 @@ export default class extends Module {
|
|||||||
@autobind
|
@autobind
|
||||||
private async post() {
|
private async post() {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
if (now.getHours() !== 11) return;
|
if (now.getHours() !== 15) return;
|
||||||
const date = `${now.getFullYear()}-${now.getMonth()}-${now.getDate()}`;
|
const date = `${now.getFullYear()}-${now.getMonth()}-${now.getDate()}`;
|
||||||
const data = this.getData();
|
const data = this.getData();
|
||||||
if (data.lastPosted == date) return;
|
if (data.lastPosted == date) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user