When you call on a command e.g -hadith bukhari 10, it shows the bot to type, then do all the expensive API calls, then stop typing and send the result to the channel.
Before, only -quran and some others had this feature, while all the others were left out.
This is useful because it lets the user know whether the bot is responsive or not, as calling a hadith command takes a few seconds to actually process. This could reduce the possibility of users re-calling the command, unnecessarily, and perhaps then reduce the number of API calls in total by the bot to sunnah.com.
When you call on a command e.g
-hadith bukhari 10
, it shows the bot to type, then do all the expensive API calls, then stop typing and send the result to the channel.Before, only
-quran
and some others had this feature, while all the others were left out.This is useful because it lets the user know whether the bot is responsive or not, as calling a
hadith
command takes a few seconds to actually process. This could reduce the possibility of users re-calling the command, unnecessarily, and perhaps then reduce the number of API calls in total by the bot tosunnah.com
.