You've already forked NitroSniper
mirror of
https://github.com/neoarz/NitroSniper.git
synced 2026-05-11 13:15:37 +02:00
fix: author and header files
This commit is contained in:
10
webhook.ts
10
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 {
|
||||
|
||||
Reference in New Issue
Block a user