A man, who has been given a suspended sentence after pleading guilty to threatening to kill Taoiseach Micheál Martin, said he acted "like a keyboard warrior without a second thought for real-world impact".