Closed MarcTowler closed 5 years ago
Started working on this on stream but it was having a few issues
Ok, fixed the issue, added rank checks, will upload this evening to complete
fixed in latest dev branch, had to update all command files to include a role variable
Currently, help file is hard coded so needs to auto-generate it to make maintainance easier.
For this we could read all the files in the command folder and extract the help module from each file and generate the command list from there.
To save on speed and processing, we will need to run a "compile" function in the bots onStart event as file changes are not registered until the bot is rebooted currently anyway.
Also need to add a restriction tag on the help module for the lowest rank that is allowed to use the command so that members can see only commands that they are allowed, officers for officers and members, council for all