Discord bot terminal/console

I was wondering if it would be possible to make a discord bot terminal maybe on a website not to sure yet. Currently I go into my code and send a message on bot start up (as I can’t get on to put it myself because school) (I am learning JS in school) I know it would be possible to log input but what about sending outputs from a terminal like a webhook of sort, any ideas?