Open Aiden-777 opened 11 months ago
https://github.com/rubenlagus/TelegramBots/blob/f343d17ae4d3b793cb70ed51bd2cc2e05c2a6e4a/telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/BaseAbilityBot.java#L364-L373
I guess it's on purpose. But the bigger question I have is why is this collected via reflection at all rather than implementing a method like Set<Ability> getAbilities in the BaseAbilityBot interface.
Set<Ability> getAbilities
BaseAbilityBot
https://github.com/rubenlagus/TelegramBots/blob/f343d17ae4d3b793cb70ed51bd2cc2e05c2a6e4a/telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/BaseAbilityBot.java#L364-L373