This PR implements the automated of moving responded and inactive threads to designated category.
Changelog
Added
Responded and inactive thread move automation feature. This feature needs to be enabled first with ?threadmove config enable true command. Then a category must be set for each one of responded and inactive, or any of the one you want to enable. Both categories cannot be the same. For inactive move feature, a timeout must be set and it cannot be lower than 10 minutes.
Internal
Add _set_embed_invoker, _set_button_invoker, _set_enable_invoker and _set_category_invoker private methods. These are to handle multiple commands with similar callback.
This PR implements the automated of moving responded and inactive threads to designated category.
Changelog
Added
?threadmove config enable true
command. Then a category must be set for each one of responded and inactive, or any of the one you want to enable. Both categories cannot be the same. For inactive move feature, a timeout must be set and it cannot be lower than 10 minutes.Internal
_set_embed_invoker
,_set_button_invoker
,_set_enable_invoker
and_set_category_invoker
private methods. These are to handle multiple commands with similar callback.As for me, the code is more readable than before.