diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-22 01:22:44 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-22 01:22:44 +0200 |
commit | 7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac (patch) | |
tree | 971ac9d2906651500cc6b505f73f92c9666896ef /src | |
parent | f92f3f1a5e2aba1ea6d765fd06b8a76217186085 (diff) | |
download | Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.gz Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.bz2 Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.zip |
fix userscript, lint new files
Diffstat (limited to 'src')
-rw-r--r-- | src/api/MessageAccessories.ts | 18 | ||||
-rw-r--r-- | src/plugins/apiMessageAccessories.ts | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/src/api/MessageAccessories.ts b/src/api/MessageAccessories.ts index 3a46828..ee74af5 100644 --- a/src/api/MessageAccessories.ts +++ b/src/api/MessageAccessories.ts @@ -1,3 +1,21 @@ +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + export type AccessoryCallback = (props: Record<string, any>) => JSX.Element; export type Accessory = { callback: AccessoryCallback; diff --git a/src/plugins/apiMessageAccessories.ts b/src/plugins/apiMessageAccessories.ts index a2e8e70..8d01810 100644 --- a/src/plugins/apiMessageAccessories.ts +++ b/src/plugins/apiMessageAccessories.ts @@ -1,3 +1,21 @@ +/* + * Vencord, a modification for Discord's desktop app + * Copyright (c) 2022 Vendicated and contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + import { Devs } from "../utils/constants"; import definePlugin from "../utils/types"; |