SileNce5k / discord_bot

My second attempt at making a bot in javascript
The Unlicense
0 stars 0 forks source link

Error in fmtt #100

Closed SileNce5k closed 4 months ago

SileNce5k commented 6 months ago
May 31 21:16:51 discordbot-prod node[478]: /home/anon/discord_bot/util/lastfm/getTopTracks.js:74
May 31 21:16:51 discordbot-prod node[478]:     .setAuthor(`Now playing - ${nickname}`, user.user.avatarURL({ dynamic: t>
May 31 21:16:51 discordbot-prod node[478]:                                 ^
May 31 21:16:51 discordbot-prod node[478]: ReferenceError: nickname is not defined
May 31 21:16:51 discordbot-prod node[478]:     at module.exports (/home/anon/discord_bot/util/lastfm/getTopTracks.js:74>
May 31 21:16:51 discordbot-prod node[478]:     at process.processTicksAndRejections (node:internal/process/task_queues:>
May 31 21:16:51 discordbot-prod node[478]:     at async Object.execute (/home/anon/discord_bot/commands/misc/fm.js:29:3>
May 31 21:16:51 discordbot-prod node[478]: Node.js v22.2.0
SileNce5k commented 4 months ago

Gotta fix this asap

SileNce5k commented 4 months ago

fixed by disabling the command