aboutsummaryrefslogtreecommitdiff
path: root/src/utils/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/constants.ts')
-rw-r--r--src/utils/constants.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index eccd3e3..30c07ba 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -16,8 +16,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import gitHash from "~git-hash";
+import gitRemote from "~git-remote";
+
export const WEBPACK_CHUNK = "webpackChunkdiscord_app";
export const REACT_GLOBAL = "Vencord.Webpack.Common.React";
+export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
// Add yourself here if you made more than one plugin
export const Devs = Object.freeze({