MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / isMessageNotModifiedError

Function isMessageNotModifiedError

music_hub/music_hub.ts:315–317  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

313 .replace(/[\\/:*?"<>|]/g, " ")
314 .replace(/\s+/g, " ")
315 .trim();
316 return (cleaned || "music").slice(0, 80);
317}
318
319function detectAudioExtension(url: string, contentType?: string): string {
320 const lowerType = (contentType || "").toLowerCase();

Callers 1

editOrReplaceMessageMethod · 0.70

Calls 1

errorTextFunction · 0.85

Tested by

no test coverage detected