Skip to content

Commit

Permalink
fix(nowplaying): force fetch a user's presence
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloanan committed Mar 19, 2021
1 parent 3894e30 commit 51b183a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/nowplaying.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getSpotifySong } from '../utils/getSpotifySong'

export async function nowPlaying (_bot: Client, message: Message): Promise<void> {
const responseMessage = message.channel.send(BarebonesLyricsEmbed())
const messageAuthor = await message.author.fetch()
const messageAuthor = await message.author.fetch(true)

responseMessage.catch((err) => {
message.channel.send(`I am not able to send embeds here!\nPlease recheck the permission of the bot!\`${err}\``)
Expand Down

0 comments on commit 51b183a

Please sign in to comment.