-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added command invocation logic which handles the process of invoking …
…a command. The process can be broken down and is similar to the following scenario: Recieve a Message, Trigger Handle Commands, Create Context, Check for a valid prefix, Strip Prefix and Parse message content into a dict view, Check for a valid command from the dict view, run all checks, run cooldowns, parse arguments, rune before invoke hooks, run the command callback, rune after command hooks. If anything fails it is propagated into event_command_error. This push is the first alpha push of command invocation and needs deep testing.
- Loading branch information
Showing
2 changed files
with
276 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters