MoreCommands: Remove pat cmd
This commit is contained in:
parent
6d7f8279b5
commit
424c91d438
2 changed files with 0 additions and 14 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue