aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-22 01:22:44 +0200
committerVendicated <vendicated@riseup.net>2022-10-22 01:22:44 +0200
commit7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac (patch)
tree971ac9d2906651500cc6b505f73f92c9666896ef /src/api
parentf92f3f1a5e2aba1ea6d765fd06b8a76217186085 (diff)
downloadVencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.gz
Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.tar.bz2
Vencord-7d555a96ea3ea97d15a97b8b3e3afcdc736d78ac.zip
fix userscript, lint new files
Diffstat (limited to 'src/api')
-rw-r--r--src/api/MessageAccessories.ts18
1 files changed, 18 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;