New in v1.3
-
API Status Check: Added functionality to check if the Discord API is offline. If the API is down, a message is displayed instead of showing the total members and online members.
-
API Error Message Configuration: Introduced a customizable error message (
api_error_message) for when the Discord API is not working. This can be configured in the plugin settings. -
Show Link Only on API Error: Added a configuration option (
show_link_only_on_error) to show only the Discord invite link when the API is down, without displaying the member counts. -
API Status Caching: Implemented caching for checking the Discord API status to minimize lag. The cache duration is configurable, reducing the need for repeated API requests when checking the status.