PhantomBot Version: 2.4.2
OS Version: Windows 10 Pro x64
Java Version: build 1.8.0_191-b12
Browser and Version (for Panel Support): Google Chrome version 71.0.3578.98
Stock PhantomBot: Yes
I’m attempting to quickly enable/disable the audioPanelSystem.js module using an alias I’m calling sfxoff/sfxon. What I’ve done so far is:
Alias the commands “!module enable ./systems/audioPanelSystem.js” and “!module disable ./systems/audioPanelSystem.js” to “sfxon” and “sfxoff” respectively.
Once those are made, I shut down the bot and open the database file using DB Browser for SQLite, navigate to the phantombot_aliases table, and modify the value of each of those commands in order to capitalize the P and S in audiopanelsystem so it reads as audioPanelSystem, apply and write the changes, close the browser and restart the bot.
However, those alias commands still do not work, as calling either sfxon or sfxoff cause the bot to return with
‘Usage: !module enable [module path]’.
This is a fresh install of Phantombot and I’ve double-checked my spelling and grammar. The module commands still work on their own without issue.
I would appreciate any help anyone can provide. Thank you.