Learn-Build-Teach / learn-build-teach-discord-bot

53 stars 17 forks source link

🐛 Fix bug for deferReply #20

Closed max-programming closed 3 years ago

max-programming commented 3 years ago

While fetching profile data for a user which does not exist, we used interaction.reply which caused the error because we already used interaction.deferReply to defer the reply.

So I converted those sections using .reply to .editReply to fix the error