mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 22:16:13 +00:00
fix: Add more logging to all commands
This commit is contained in:
1 parent
389e60baad
commit
8ab4cbead2
13 files changed
+106
-7
No files matched your search
@@ -11,6 +11,7 @@ exports.transformQuery = async (query) => {
|
||||
|
||||
// if country-based, transform to normal Spotify url
|
||||
if (isCountryBased) {
|
||||
logger.debug(`Transforming country-based Spotify url to normal Spotify url from query ${query}.`);
|
||||
const trackId = query.match(regex)[2];
|
||||
query = `https://open.spotify.com/track/${trackId}`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user