Simple-Example.md - Added missing /stats command

/stats was missing from the default commands list.
This commit is contained in:
jonasx10j 2021-08-19 20:13:13 +02:00 committed by GitHub
parent 247274a568
commit 3d1ba16902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,8 @@ Since you've implemented an AbilityBot, you get **factory abilities** as well. T
* /demote @username - demotes bot admin to user * /demote @username - demotes bot admin to user
* /ban @username - bans the user from accessing your bot commands and features * /ban @username - bans the user from accessing your bot commands and features
* /unban @username - lifts the ban from the user * /unban @username - lifts the ban from the user
* /stats - displays how many times were your abilities called
* **This command returns empty String by default.** To use this command, add ```.setStatsEnabled(true)``` to your abilities. You'll then be able to view how many times each of them was called.
## Conclusion ## Conclusion
Congratulation on creating your first AbilityBot. What's next? So far we've only considered the case of commands, but what about images and inline replies? AbilityBots can also handle that! Oh and, did you know that all ability bots have an embedded database that you can use? Congratulation on creating your first AbilityBot. What's next? So far we've only considered the case of commands, but what about images and inline replies? AbilityBots can also handle that! Oh and, did you know that all ability bots have an embedded database that you can use?