diff --git a/README.md b/README.md index 01f8371..afead16 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # NitroSniper -[![Version](https://img.shields.io/badge/Version-1.1.0-5865F2)](https://github.com/neoarz/NitroSniper) -[![Gitea](https://img.shields.io/badge/Gitea-NitroSniper-6e738d?logo=gitea&logoColor=white)](https://6969.pro/neoarz/NitroSniper) -[![GitHub License](https://img.shields.io/github/license/neoarz/NitroSniper?color=%23e78284)](https://github.com/neoarz/NitroSniper/blob/main/LICENSE) +[![Gitea](https://img.shields.io/badge/Gitea-NitroSniper-5865F2?logo=gitea&logoColor=white)](https://6969.pro/neoarz/NitroSniper) +[![GitHub License](https://img.shields.io/github/license/neoarz/NitroSniper?color=%236e738d)](https://github.com/neoarz/NitroSniper/blob/main/LICENSE) [![Sponsor Me](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/neoarz) [![Status](https://img.shields.io/badge/Status-Working-73b369)](https://github.com/neoarz/NitroSniper) @@ -30,4 +29,3 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file Make a github issue if you find any bugs or have any questions or preferably dm me on discord `neoarz`.
If you find this project useful, consider leaving a star, would mean alot!! ❤️ - diff --git a/index.tsx b/index.tsx index 6d1617a..e51bae0 100644 --- a/index.tsx +++ b/index.tsx @@ -6,7 +6,6 @@ dm @neoarz if u need help or have any questions https://github.com/neoarz/NitroSniper */ -import { Devs } from "@utils/constants"; import { Logger } from "@utils/Logger"; import definePlugin from "@utils/types"; import { Message } from "@vencord/discord-types"; @@ -117,7 +116,10 @@ function processQueue() { export default definePlugin({ name: "NitroSniper", description: "Automatically redeems Nitro gift links sent in chat", - authors: [Devs.neoarz], + authors: [{ + name: "neoarz", + id: 218675193592283137n + }], tags: ["Chat", "Utility"], searchTerms: ["nitro", "gift", "redeem", "snipe"], settings, diff --git a/native.ts b/native.ts index 1739a3d..13859be 100644 --- a/native.ts +++ b/native.ts @@ -1,3 +1,11 @@ +/* +Made with ❤️ by neoarz +I am not responsible for any damage caused by this plugin; use at your own risk +Vencord does not endorse/support this plugin (Works with Equicord as well) +dm @neoarz if u need help or have any questions +https://github.com/neoarz/NitroSniper +*/ + import { IpcMainInvokeEvent } from "electron"; import type { NativeWebhookResponse } from "./types"; diff --git a/settings.tsx b/settings.tsx index ec6580b..dc0548a 100644 --- a/settings.tsx +++ b/settings.tsx @@ -1,3 +1,11 @@ +/* +Made with ❤️ by neoarz +I am not responsible for any damage caused by this plugin; use at your own risk +Vencord does not endorse/support this plugin (Works with Equicord as well) +dm @neoarz if u need help or have any questions +https://github.com/neoarz/NitroSniper +*/ + import { definePluginSettings } from "@api/Settings"; import { OptionType } from "@utils/types"; import { Button, showToast, Toasts } from "@webpack/common"; diff --git a/types.ts b/types.ts index 6b6f304..928791b 100644 --- a/types.ts +++ b/types.ts @@ -1,3 +1,11 @@ +/* +Made with ❤️ by neoarz +I am not responsible for any damage caused by this plugin; use at your own risk +Vencord does not endorse/support this plugin (Works with Equicord as well) +dm @neoarz if u need help or have any questions +https://github.com/neoarz/NitroSniper +*/ + export interface ClaimRequest { code: string; authorId?: string; diff --git a/webhook.ts b/webhook.ts index 2ca6002..3d1a9ec 100644 --- a/webhook.ts +++ b/webhook.ts @@ -1,3 +1,11 @@ +/* +Made with ❤️ by neoarz +I am not responsible for any damage caused by this plugin; use at your own risk +Vencord does not endorse/support this plugin (Works with Equicord as well) +dm @neoarz if u need help or have any questions +https://github.com/neoarz/NitroSniper +*/ + import type { PluginNative } from "@utils/types"; import type { @@ -54,7 +62,7 @@ function buildMessageUrl(request: ClaimRequest) { } function escapeMarkdown(value: string) { - return value.replace(/([\\`*_{}\[\]()#+\-.!|>~])/g, "\\$1"); + return value.replace(/([\\`*_{}[\\]()#+.!|>~-])/g, "\\$1"); } function buildAuthorField(request: ClaimRequest): WebhookField | null {