looking at [this attempt](https://github.com/badging/bot-scripts/actions/runs/6405401029/job/17387857663?pr=20), there is need to remove all the complains and errors that `shellcheck` throws so that the jobs run successfully. this issue intends to clean up those errors and let the job run successfully. refer to https://github.com/badging/bot-scripts/pull/20/commits/762f33a2de1759491f70e34c1df37525d4203c9f to get an idea about how to make the implementation.