Closed nonchris closed 3 years ago
What started as a simple 'quick' bug-fix turned out as a complete overhaul of the code.
This pull-request doesn't really add any new functionality, but it does:
fix a bug when module names contained upper-case letters beside from their beginning
add a new central function responsible for sending reply embeds it also handles possible exceptions
restructure of checks for which part to execute (less if/ else statements)
removed global try/ catch and replaced it with better case handling
improved embed texts
way better variable names
completely switched to f-strings
added lots of new comments for better understanding
over all code appearance like spaces and paragraphs
code is now PEP8 conform
Ps.: I meant 'comments' not 'commands' in my last commit.
What started as a simple 'quick' bug-fix turned out as a complete overhaul of the code.
This pull-request doesn't really add any new functionality, but it does:
fix a bug when module names contained upper-case letters beside from their beginning
add a new central function responsible for sending reply embeds it also handles possible exceptions
restructure of checks for which part to execute (less if/ else statements)
removed global try/ catch and replaced it with better case handling
improved embed texts
way better variable names
completely switched to f-strings
added lots of new comments for better understanding
over all code appearance like spaces and paragraphs
code is now PEP8 conform
Ps.: I meant 'comments' not 'commands' in my last commit.