Hoping I did this correctly (first pull request). This should now gracefully catch whenever a JSON request returns empty. If wanted, this can now be passed on through each request to give the user the ability to handle when an error occurs. As of now, it returns the default value of the object requested on error. As a side note, I also slightly cleaned up some of the code presented in DiscordBotListApi.cs.
Hoping I did this correctly (first pull request). This should now gracefully catch whenever a JSON request returns empty. If wanted, this can now be passed on through each request to give the user the ability to handle when an error occurs. As of now, it returns the default value of the object requested on error. As a side note, I also slightly cleaned up some of the code presented in DiscordBotListApi.cs.