Compare commits

..

2 Commits

Author SHA1 Message Date
last2014 b9a4fe8763 v25.8.9 2025-08-26 22:54:56 +09:00
last2014 ed3606778e v25.8.8 2025-08-26 22:43:07 +09:00
3 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "notice-uwuzu",
"version": "v25.8.7@uwuzu1.6.4",
"tag": "v25.8.7",
"version": "v25.8.9@uwuzu1.6.4",
"tag": "v25.8.9",
"description": "Notice Bot for uwuzu",
"main": "dist/main.js",
"scripts": {
+7 -1
View File
@@ -14,6 +14,12 @@ export default async function MiQAllow(data: ueuse) {
return;
}
if (data.replyid === "") {
console.log("MiQ許可制(誤ユーズ)", await Reply(`
形式が正規ではありません。
`, data.uniqid));
}
// 権限一覧取得
const permissions: { [user: string]: Permission } =
JSON.parse(readFileSync("data/miqPermissions.json", "utf-8"));
@@ -38,7 +44,7 @@ export default async function MiQAllow(data: ueuse) {
).json())["0"];
const me: meApi = await (
await fetch(`${config.uwuzu.host}/api/me`, {
await fetch(`${config.uwuzu.host}/api/me/`, {
method: "POST",
cache: "no-store",
body: JSON.stringify({
+1 -2
View File
@@ -1,8 +1,7 @@
import { ueuse } from "../../../types/types";
import { Reply } from "../main.js";
import config from "../../../config";
import config from "../../../config.js";
import { readFileSync, writeFileSync, existsSync } from "fs";
import { request } from "express";
// 初期化
const initialFile = {};