Hey @anithapandidurai ,
Thank you for replying, I got my results correctly. I checked my code and it was all correct. But the problem was still there. So I created a new channel and bot and tried running my code with new id’s.
I got my satisfactory results. It seems that the problem was there in my bot.