mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 11:57:02 -04:00
Cute Pats
This commit is contained in:
parent
0d9457e1bc
commit
8266478227
8 changed files with 354 additions and 10 deletions
|
@ -37,7 +37,7 @@ export const settings = definePluginSettings({
|
|||
|
||||
export default definePlugin({
|
||||
name: "Anammox",
|
||||
description: "A microbial process that plays an important part in the nitrogen cycle",
|
||||
description: "Remove Some Discord Settings",
|
||||
authors: [Devs.Kyuuhachi],
|
||||
settings,
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ async function fetchReddit(sub: string) {
|
|||
}
|
||||
|
||||
export default definePlugin({
|
||||
name: "Cute-Anime-Boys",
|
||||
name: "CuteAnimeBoys",
|
||||
authors: [EquicordDevs.ShadyGoat],
|
||||
description: "Add a command to send cute anime boys in the chat",
|
||||
dependencies: ["CommandsAPI"],
|
||||
|
|
30
src/equicordplugins/cutePats/index.ts
Normal file
30
src/equicordplugins/cutePats/index.ts
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2024 Vendicated and contributors*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
|
||||
async function getcutepats(): Promise<string> {
|
||||
const res = await fetch("https://api.waifu.pics/sfw/pat");
|
||||
const url = (await res.json()).url as string;
|
||||
return url;
|
||||
}
|
||||
|
||||
|
||||
|
||||
export default definePlugin({
|
||||
name: "CutePats",
|
||||
description: "Pat Command",
|
||||
dependencies: ["CommandsAPI"],
|
||||
authors: [EquicordDevs.thororen],
|
||||
commands: [{
|
||||
name: "pat",
|
||||
description: "Baby don't hurt me no more",
|
||||
execute: async opts => ({
|
||||
content: await getcutepats()
|
||||
})
|
||||
}]
|
||||
});
|
|
@ -767,10 +767,7 @@ function getCSS(fontName) {
|
|||
export default definePlugin({
|
||||
name: "Glide",
|
||||
description: "A sleek, rounded theme for discord.",
|
||||
authors:
|
||||
[
|
||||
Devs.Samwich
|
||||
],
|
||||
authors: [Devs.Samwich],
|
||||
settings,
|
||||
start() {
|
||||
injectCSS();
|
||||
|
|
|
@ -112,7 +112,7 @@ function utilityDock({ children }: { children: ReactNode[]; }) {
|
|||
}
|
||||
|
||||
export default definePlugin({
|
||||
name: "utilityDock",
|
||||
name: "UtilityDock",
|
||||
description: "Adds a button on your titlebar with multiple useful features",
|
||||
authors: [Devs.Samwich],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue