aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-06-20 23:40:59 -0400
committerRapptz <[email protected]>2017-06-20 23:41:13 -0400
commit717f11d635f71f49e1c83813bc97fcc9ac744cc3 (patch)
tree36c3e09f14806ed788bd91c5a95ea6bc6474acd4 /discord/message.py
parentFix passing None to afk_channel in Guild.edit. (diff)
downloaddiscord.py-717f11d635f71f49e1c83813bc97fcc9ac744cc3.tar.xz
discord.py-717f11d635f71f49e1c83813bc97fcc9ac744cc3.zip
[commands] Add Bot.check_once for a global check that is called once.
There is a counterpart for this in cogs, called __global_check_once. This allows for predicates that would filter a command globally that do not necessarily require rechecking in the case of e.g. the help command such as blocking users or blocking channels.
Diffstat (limited to 'discord/message.py')
0 files changed, 0 insertions, 0 deletions