fix: author and header files

This commit is contained in:
neo
2026-05-01 10:25:52 -04:00
parent ede00ab875
commit 43848f0c58
6 changed files with 39 additions and 7 deletions

View File

@@ -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`.
<br>
<sub>If you find this project useful, consider leaving a star, would mean alot!! ❤️</sub>

View File

@@ -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,

View File

@@ -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";

View File

@@ -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";

View File

@@ -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;

View File

@@ -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 {