testing this for a day if its bad i just wast my time

This commit is contained in:
NoLogicAlan committed 2026-10-05 03:29:05 +03:00
1 parent fd58343ce9
commit 656cbfe149
33 files changed
+726 -102

No files matched your search

+2 -2
View File
@@ -160,7 +160,7 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs
const tokenText = data.get("token")?.value;
if (tokenText) {
const dashMatch = tokenText.match(/^(.+?)\s*[-–—]\s*(.+)$/);
const dashMatch = tokenText.length <= 300 ? tokenText.match(/^(.+?)\s*[-–—]\s*(.+)$/) : null;
if (dashMatch) {
artistName = dashMatch[1].trim();
albumName = dashMatch[2].trim();
@@ -249,7 +249,7 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs
const tokenText = data.get("token")?.value;
if (tokenText) {
const dashMatch = tokenText.match(/^(.+?)\s*[-–—]\s*(.+)$/);
const dashMatch = tokenText.length <= 300 ? tokenText.match(/^(.+?)\s*[-–—]\s*(.+)$/) : null;
if (dashMatch) {
artistName = dashMatch[1].trim();
trackName = dashMatch[2].trim();