Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
FormatDuration
method and add System.Collections.Generic
…
… namespace Added the `System.Collections.Generic` namespace to `AfkModule.cs` for better type safety and performance. Refactored the `FormatDuration` method to use a `List<string>` instead of an array for storing duration parts, improving code readability and maintainability. The method now checks and adds hours, minutes, and seconds separately to the list, ensuring the seconds part is added even if the duration is zero.
- Loading branch information