aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-06-21 02:27:16 -0400
committerRapptz <[email protected]>2017-06-21 02:30:24 -0400
commit3618f51f973bac555986422bd6c24ec108ab8256 (patch)
treedcf1f208d7c0868ad094a329adfa1d3d5e08f721 /docs
parent[commands] Add __global_check_once to list of cog functions. (diff)
downloaddiscord.py-3618f51f973bac555986422bd6c24ec108ab8256.tar.xz
discord.py-3618f51f973bac555986422bd6c24ec108ab8256.zip
[commands] Ensure that Context.command is the command in Command.can_run
Previously, Context.command was not guaranteed to be the actual command being checked if it can run. This could be troublesome when implementing help commands or when using the default help command. This new change allows at least for the guarantee that Context.command to be technically correct in Command.can_run.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions