Not sure if you have noticed this, but I usually test new features and fix bugs directly on the live bot itself (Which probably explains why the bot goes offline for quite some time sometimes). This means that any changes I make would cause the bot to restart with those new changes. This is all well and good for fixing bugs, but not so good if I create a new feature that has bugs everywhere. Trying to run a separate local copy of the bot proved to be an issue as some of the methods I use to get bot statistics only works in Linux. This update should fix these issues and allow it to be able to run on any OS.
Some other noticable changes include ,stats is now an alias to ,statistics, and ,remindme can now be called with just ,rm.
- Renamed ,stats command to ,statistics
- Changed ‘CS Pound Memory Usage’ to display in MB instead of a percentage
- Improved response time of ,statistics
- Added ,rm alias to ,remindme command
- Added ,stats alias to ,statistics command
- Fixed ‘System Memory Usage’ not displaying when running on OSX
- Fixed ‘CS Pound Memory Usage’ not displaying when running on OSX
- Fixed ‘CS Pound Uptime’ not displaying when running on OSX
,statistics ,stats ,rm <Xh|Xhr|Xm|Xs>
At the moment the only statistical information the bot has is the current version of the bot, displayed in the playing status. Some of the other bots I have been looking at have a specific command that shows many of the bot’s statistics, such as CPU/RAM usage, server and user counts. So now I have created my own ,stats command, and moved the bot version there, along with some other information.
Also a small problem I have seen with users setting Remind Me’s is typing ‘hr’ instead of just ‘h’ for hours. It has now been updated to work for both ‘hr’ and ‘h’!
- Added ,stats command
- Fixed ‘hr’ not working with ,remindme command
,remindme <Xh|Xhr|Xm|Xs> ,stats
Finally an update that isn’t a small patch! I would like to reveal the new command, ,pet2! Just ignore my horrible naming creativity and hear me out. A problem with the current ,pet command is that the embed that it sends isn’t something that you can just glance at and understand, it takes a bit of time to read the fields. This new beta ,pet2 command hopefully fixes this. Rather than trying to accomodate to Discord’s style, it would send an image that replicates what you would see on the pet page. The only problem to solve now is how to make the owner and given by link clickable…
In other news, the new ,pet2 command as well as ,pet will now display error messages if the link to the pet that you sent is invalid, rather than just not reply with anything.
- Added ,pet2 command
- Added error messages for ,pet and ,pet2
,pet2 <Pet URL>