| Commit message (Collapse) | Author | Age | Lines | 
| ...                |  | 
| | | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | |  | 
we cannot perform anything without the tags cog and commands
 | 
| | | |\ \ \ \ \ \ \   | 
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
Since no tags were found, we can return false
since we didn't send any matching tag
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
If the code ran to the last line of the function without returning
(we return when we send a tag)
It means we didn't send the tag and need to return False
 | 
| | | | | | | | | | |  | 
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
After CommandError was catched, the embed was sent,
now we return after the exception was catched
Modified the way raw_commands are collected
 | 
| | | | | | | | | | |  | 
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
the CommandError exception was ignored,
We now catch the exception to handle and log the event
Also added a little code reformat
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
The message sent when suggesting a command is now wrapped inside an embed
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
get_command was changed to - display_tag, the name didn't fit,
since its not the command itself.
command_on_cooldown was taken out of display_tag to get the option to reuse it in another scope
Docstrings modified
 | 
| | | | | | | | | | |  | 
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
The returned value was changed from True to False
If we didn't return True (sent the tag) throughout the code
It means we didn't send anything, we should return False
 | 
| | | | | | | | | | |  | 
 | 
| | | | | | | | | | |  | 
 | 
| | | | | | | | | | |  | 
 | 
| | | | | | | | | | |  | 
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
When found a similar command, the bot sent a suggestion about the full command name
This was fixed by saving the matching alias and sending it instead of sending the full command name
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
preventing message spam by the bot when commands are misspelt
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
Since its used to get the input of the command, its not needed again
In the function (callback) call
 | 
| | | | | | | | | | |      |  | 
| | | |  \ \ \ \ \ \ \     |  | 
| | | |\ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | |  | 
https://github.com/python-discord/bot into feat/F4zi/CommandSuggestion
 | 
| | | | |\ \ \ \ \ \ \ \ \   | 
 | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | |  | 
Migration to error_handler.py
Suggesting misspelt commands, in progress
 | 
| | | |/ / / / / / / / / /  
| | | | | | | | | | | |   
| | | | | | | | | | | |   
| | | | | | | | | | | |    | 
Updated
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | |\ \ \ \ \  
| | |_|_|_|_|_|/ / / / /  
| |/| | | | | | | | | |    | 
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | |  | 
To keep everything at one place, moved all branding manager special
things to one module.
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | |  | 
Co-authored-by: Dennis Pham <[email protected]>
 | 
| | | | | | | | | | | | |  | 
 | 
| | | | | | | | |\ \ \ \ \   | 
 | 
| | | | | | | | | | | | | |  | 
 | 
| | | | | | | | |\ \ \ \ \ \  
| | | | | | | |/ / / / / /  
| | | | | | |/| | | | | |    | 
 | 
| | | | | | | | | | | | | |  | 
 | 
| | | | | | | | |\ \ \ \ \ \   | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 | 
| | | | | | | | | | | | | | |  | 
 |