luni3359 / koa-bot

Discord bot
MIT License
3 stars 0 forks source link

Implement proper error handling #87

Open luni3359 opened 3 years ago

luni3359 commented 3 years ago

As of now error handling is managed the traditional way python expects you to. In practice we could benefit by using discord.py's native error handling features.

To do:

luni3359 commented 3 years ago

Progress has been made through commit 5f8f83bd0ab4c82a0a90d9e4b43d2cdf4cdd02d2. Functions with keyword-only arguments now all support the new syntax, only in cases where it's actually needed to keep the code DRY.

Next we should be scouting the code as a whole, looking for ways to make further use of this feature.