ravener / miyako

A multipurpose Discord Bot
MIT License
156 stars 55 forks source link

Unify the command handler code #49

Closed ravener closed 1 year ago

ravener commented 2 years ago

The command handler is prone to breaking DRY (Don't Repeat Yourself), repeating checks and such, it'd be wise to unify the checks in one place and re-use it with both.