on *:TEXT:!clear:#:CHANNEL-NAME-HERE: {
would be incorrect it should be
on *:TEXT:!clear:#channamehere: {
and why do it that way when you can just leave # in it and have it work on any channel the bot is in?
on *:TEXT:!clear:#:{
also to make it so it only works if the bot is mod you can do
on @*:TEXT:!clear:#: {