MoreCommands: Remove pat cmd

This commit is contained in:
thororen1234 2026-05-10 20:33:06 -04:00
parent 6d7f8279b5
commit 424c91d438
No known key found for this signature in database
2 changed files with 0 additions and 14 deletions

View file

@ -33,7 +33,6 @@ import {
generatePoissonDiskPosition,
getCuteAnimeBoys,
getCuteNeko,
getCutePats,
getMessage,
isMorse,
loadFriendImage,
@ -349,13 +348,6 @@ export default definePlugin({
}
},
},
{
name: "pat",
description: "Sends a headpat gif",
execute: async () => ({
content: await getCutePats()
})
},
{
name: "nekos",
description: "Send Neko",

View file

@ -46,12 +46,6 @@ export async function getCuteNeko(): Promise<string> {
return url ?? "";
}
export async function getCutePats(): Promise<string> {
const res = await fetch("https://api.waifu.pics/sfw/pat");
const url = (await res.json()).url as string | null;
return url ?? "";
}
export function mock(input: string): string {
let output = "";
for (let i = 0; i < input.length; i++) {