mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-10-11 03:13:50 +00:00
The dispatcher now extracts both the command name and its arguments once and passes the args array to handlers via a 3rd parameter. Each command file drops its splitArgs(getCommandArguments(msg.text)) call and the corresponding imports. command-utils.js loses the now-unused arg helpers (only auth helpers remain). info.js — a 12-line file with one sendMessage — folds into bot.js's commands map.