A teenager who supplied her friend with a deadly ecstasy tablet has argued in court abuse she received on social media counts as a 'kind of punishment'.

Rebecca Hannibal, 19, said she has been attacked online and called a 'killer' and a 'despicable person' after pleading guilty to supplying her close friend Georgina Bartter with the killer pill last November.

Hannibal's lawyer, Phillip Boulten, SC, asked Chief Magistrate Graeme Henson to take into account the online bullying, and to not record a conviction for his client, according to the Sydney Morning Herald.

Rebecca Hannibal (right) has been abused online since she pleaded guilty to supplying her friend with ecstasy, with people calling her a 'killer' and 'despicable person'

'It's traumatic... it's a kind of punishment,' Mr Boulten said.

'The grief involved in the Bartter family can only be guessed at, but my client and her family are also grieving.'

Mr Boulten also said Hannibal has symptoms of depression, and has moved interstate in an attempt to escape her tormentors.

'This is an extraordinary burden for anyone let alone someone charged with this offence,' he said.

Georgina Bartter (left) died after suffering a one in 10 million adverse reaction to the drug

Hannibal (left) and Ms Bartter (right) were very close friends, before Ms Bartter's tragic death

'She has a lot to deal with that young people don't normally have to deal with.'

Hannibal gave Ms Bartter 'purple sneaker' tablets ahead of the Harbourlife dance festival. The court was told she bought the pills from drug dealer Matthew Forti, who was later arrested after Hannibal helped police.

The friends had recently returned from a five-week European holiday with other friends before the incident

Ms Bartter was just 19 when she died after collapsing on the dance floor in November last year after taking 'one and a half pills'

Mr Boulten argued his client's punishment should not be increased due to Ms Bartter's death.

Ms Bartter suffered a one in 10 million adverse reaction to the drug, and later died in St Vincent's Hospital.

Hannibal is due to be sentenced next week.

Hundreds attended Ms Bartter's funeral service St Mary's Catholic Church in North Sydney a week after her death