Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 05194ad7b8 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "noticeuwuzu",
|
||||
"version": "v4.3.2@uwuzu1.5.4",
|
||||
"version": "v4.3.3@uwuzu1.5.4",
|
||||
"description": "uwuzu Notice Bot",
|
||||
"main": "dist/main.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -3,6 +3,8 @@ import { format } from "date-fns";
|
||||
import type * as types from "types/types";
|
||||
import config from "../config.js";
|
||||
|
||||
export default async function timeNotice() {
|
||||
console.log("----------------");
|
||||
|
||||
// 停止時間
|
||||
// 時刻取得
|
||||
@@ -21,10 +23,6 @@ if (start < stop) {
|
||||
inRange = nowHour >= start || nowHour < stop;
|
||||
}
|
||||
|
||||
|
||||
export default async function timeNotice() {
|
||||
console.log("----------------");
|
||||
|
||||
if (inRange) {
|
||||
console.log("時報休止期間のため投稿されませんでした");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user