Quest problem in private server

Hello I have a quest problem, in a server there is a daily quest and a daily quest npc. I set my bot to retrieve quests but I can not make it take the rewards from the quest.
Can anyone help me about this?