I don't think everyone has to live such a life. It's a great relief to be in an employment without having to think about making money all the time. I chose freelancing because I want to choose what to work on and don't need any security for now, but I can imagine to work for $4,500-5,000/month in the future when I have kids and mortgages to pay for and need security.
The problem I have with freelancing is that you start to measure your life time in your hourly rate, because the time = money equation is ever-present. One has to be mature to resist this temptation, sometimes I'm not able to do it. It's a constant fight between the attitude that money isn't everything and the impression that it actually is.
I'm not expecting to build a greeting bot. I'm not expecting a build a trigger bot. I'm offering to build something much more complex that might have a host of integrations and perform some form of sophisticated logic.
I'm deliberately keeping my scope wide so that I get some creative propositions. But to your point, it needs to be worth $5k and I'm willing to make it so.
I was on a team that built a Slack bot in Powershell - she announced the number of incident tickets from each team's Zendesk queue, in the respective team's Slack channel. This helped drive awareness and SLAs.
Leveraging our team's in-house Powershell modules for Slack, Zendesk, and other internal Powershell tools meant the bot was only several hundred lines - not much more than a foreach with a config file.
The total depends entirely on the complexity of the request.
Unless you are a brand and can charge whatever the fuck you like for your work — things typically have a cost. You know how much a cup of coffee costs, a laptop, a car, a house. Chatbots and web-pages have their market price as well.
(And FWIW, I don't know, maybe it's ok kinda price in USA, but to me all this doesn't sound like a $5000 deal.)
You are thinking that people charge some amount derived from their costs. But it's more like people charge as much as they can (as the market allows) and the actual costs are only important as a lower bound - there is no higher bound.
Google says median web developer salary is $65k/yr or $30/hr, and at $30/hr, $5,000 is 167 hours; or 4.1 weeks (at 40 hrs/wk), or roughly a month; now -> sept 30th, though that is crossed out in the article.
So $5,000 is within reason for that skill set, but do slackbots actually involve that much work? If you haven't seen Github's chatops original talk from four years ago it's worth watching, or at least reading the slides, along with Hubot; the product and its features/interface, as well as its code. There's a decent amount of code involved for Hubot, and Github paid for its development (over far longer than 4.1 weeks, mind you).
The pay is there and the work is involved enough to take that kind of time, but I can't answer if this particular offer will lead to any work, nor how involved that work would be, so whether it would involve stuffing a few strings into an existing framework, or a whole lot of new development; in turn making it a good or bad deal for the buyer, I also cannot say.