Rapptz / discord.py

An API wrapper for Discord written in Python.
http://discordpy.rtfd.org/en/latest
MIT License
14.71k stars 3.74k forks source link

Example for Checks in the commands documentation makes no sense (rewrite) #1729

Closed merlinfuchs closed 5 years ago

merlinfuchs commented 5 years ago

image

https://discordpy.readthedocs.io/en/rewrite/ext/commands/commands.html#checks

crrapi commented 5 years ago

See #1720

crrapi commented 5 years ago

There is only one check, but the example should show off multiple checks

I don't think this is really necessary, as simply stating it should suffice.

MusicOnline commented 5 years ago

The next line after the example is

If any of those checks fail in the example above, then the command will not be run.

An inaccurate example would only bring confusion.