From 09d9a28b19447ef309240f9ac53062758d2679b3 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Mon, 4 Mar 2024 15:05:12 +0100 Subject: [PATCH] Rename displayCurrentScrobble to getCurrentScrobble --- commands/misc/fm.js | 4 ++-- .../{displayCurrentScrobble.js => getCurrentScrobble.js} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename util/lastfm/{displayCurrentScrobble.js => getCurrentScrobble.js} (100%) diff --git a/commands/misc/fm.js b/commands/misc/fm.js index 9b0d0f4..284cca3 100644 --- a/commands/misc/fm.js +++ b/commands/misc/fm.js @@ -1,5 +1,5 @@ const fmlogin = require("../../util/lastfm/fmlogin"); -const displayCurrentScrobble = require("../../util/lastfm/displayCurrentScrobble"); +const getCurrentScrobble = require("../../util/lastfm/getCurrentScrobble"); module.exports = { name: 'fm', @@ -18,7 +18,7 @@ module.exports = { break; } if(args.length < 1){ - sendText = await displayCurrentScrobble(message.author.id); + sendText = await getCurrentScrobble(message.author.id); } message.channel.send(sendText); } diff --git a/util/lastfm/displayCurrentScrobble.js b/util/lastfm/getCurrentScrobble.js similarity index 100% rename from util/lastfm/displayCurrentScrobble.js rename to util/lastfm/getCurrentScrobble.js