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