We are now able to send formatted messages to the #test channel, but is this all we can do with this script? No, as you will learn over time with a bit more experience, programming is also setting a scope to our efforts: we must define our goals, plan accordingly, accomplish them, and assess the results. Overdoing, in a professional environment, breaks one of the fundamental rules of the project management, the so-called iron triangle that defines the quality of a project as the intersection between scope, time, and costs that are the top three constrains driving us in creating our programs. Spend too long on a program or exceed the goals, the cost will levitate and the overall quality, not the quality of the code, but of our project, will be impacted.
This script was an example on how to plan and execute, how to check for the information we need to code a working script...