I don't think this is working. When I throw the ball, the person I throw it to doesn't receive it or gets a message about receiving it.
Also, when I try to throw the ball to myself, it doesn't give me the "You can't throw it to yourself tbh!!!" return.
This part looks a little weird to me:
$pmfrom = array(
'id' => 1,
'name' => 'Masterhand',
'username' => 'Masterhand'
);
Should this be changed to something else?