Merge pull request #959 from jonasx10j/patch-1

This commit is contained in:
Ruben Bermudez 2022-06-15 02:41:10 +02:00 committed by GitHub
commit 0c574563b9
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?