Kyle Sandilands has banned Jack Black's comedy band Tenacious D from his radio show for life after one of the bandmates made a divisive joke about the assassination attempt against Donald Trump.

Just hours after the former president was nearly shot dead in Pennsylvania, Kyle Gass joked about the incident during their show in Sydney, Australia on Sunday.

Black brought out a birthday cake for bandmate Gass and asked him to make a wish.

Gass, 64, replied: 'Don’t miss Trump next time.'

Speaking on Tuesday morning's Kyle & Jackie O show, Australian radio host Sandilands lashed out over the comment and vowed to ban the duo from appearing on his radio show.

'So, that guy wishes death on Trump,' he said, adding that the comment was 'surprising'.

'A note to our talent bookers, I will not be participating in any future Tenacious D interviews.'

Sandilands, 53, added: 'Someone wishing someone dead that nearly got assassinated, all jokes aside, it's too much for me.

'Anyone who wishes someone else dead, legit is just a piece of s**t.'

Kyle Sandilands has banned Jack Black 's comedy band Tenacious D from his radio show for life after one of the bandmates made a divisive joke about the assassination attempt against Donald Trump

Kyle Sandilands has banned Jack Black 's comedy band Tenacious D from his radio show for life after one of the bandmates made a divisive joke about the assassination attempt against Donald Trump  

Just hours after the former president was nearly shot dead in Pennsylvania, Kyle Gass joked about the incident during their show in Sydney, Australia on Sunday

Just hours after the former president was nearly shot dead in Pennsylvania, Kyle Gass joked about the incident during their show in Sydney, Australia on Sunday 

The crowd at the Tenacious D show mostly responded to Gass's comment with cheering and laughing, with just a few disappointed reactions.  

Last month, Black, 54, delivered a speech at a star-studded fundraiser in Los Angeles for president Joe Biden, where he said 'democracy was at stake' in November.

The event, which raised more than $30million, was also attended by former president Barack Obama, George Clooney, Julia Roberts and Barbra Streisand.

Black has joked in the past that Trump, like his band, believes they are 'the greatest' in the world, as reported by Yahoo! News.

He told Conan O’Brien in 2017: 'Now, when we go out and perform Tenacious D, I always have like, a little twinge of guilt, because it’s like this evil f***ing warlock stole our magic, but just took out all the irony. And it worked and now he’s destroying the universe.'

Meanwhile, many on social media took issue with Gass' comments over the weekend, arguing it was too soon to joke about the attempted assassination of Trump.

Last month, Black, 54, delivered a speech at a star-studded fundraiser in Los Angeles for president Joe Biden , where he said 'democracy was at stake' in November

Last month, Black, 54, delivered a speech at a star-studded fundraiser in Los Angeles for president Joe Biden , where he said 'democracy was at stake' in November

Black and his band are currently on Spicy Meatball Tour. (L-R) Kyle Gass, Jack Black and bassist John Spike

Black and his band are currently on Spicy Meatball Tour. (L-R) Kyle Gass, Jack Black and bassist John Spike

X user Collin Rugg said: 'Maybe, just maybe, these people are actually the evil ones.'

Conservative editor Brandon Morse wrote: 'And with that, any love I had for Jack Black and Tenacious D is gone.'

Thomas Matthew Crooks

Thomas Matthew Crooks

Ring-wing commentator Charlie Kirk added: 'These people are more twisted and vile than we realized. And shame on all of the people in the crowd who thought this "joke" was funny.' 

Black and his band are currently on Spicy Meatball Tour, which kicked off in May and is set to wrap on July 26, 2024. 

In the wake of the shooting that killed one spectator on Saturday, investigators are hunting for any clues about what may have drove Thomas Matthew Crooks, 20, to carry out the shocking attack.

The FBI said they were investigating it as a potential act of domestic terrorism , but the absence of a clear ideological motive by the man shot dead by the Secret Service led conspiracy theories to flourish.

The FBI said it believes Crooks, who had bomb-making materials in the car he drove to the rally, acted alone.

Republican presidential candidate former President Donald Trump gestures as he is surrounded by U.S. Secret Service agents as he is taken from the stage

Republican presidential candidate former President Donald Trump gestures as he is surrounded by U.S. Secret Service agents as he is taken from the stage 

Investigators have found no threatening comments on social media accounts or ideological positions that could help explain what led him to target Trump .

Trump said on social media the upper part of his right ear was pierced in the shooting.

But advisers said he was 'great spirits' ahead of his arrival Sunday in Milwaukee for the Republican National Convention.

Two spectators were critically injured, while a former fire chief from the area, Corey Comperatore was killed. 

Pennsylvania’s governor said Comperatore, 50, died a hero by diving onto his family to protect them.