Browse Source

[commands] Add missing backtick for is_nsfw docs

pull/2166/head
Dante Dam 6 years ago
parent
commit
1fac7a7e71
  1. 2
      discord/ext/commands/core.py

2
discord/ext/commands/core.py

@ -1573,7 +1573,7 @@ def is_nsfw():
.. versionchanged:: 1.1.0
Raise :exc:`.NSFWChannelRequired instead of generic :exc:`.CheckFailure`.
Raise :exc:`.NSFWChannelRequired` instead of generic :exc:`.CheckFailure`.
DM channels will also now pass this check.
"""
def pred(ctx):

Loading…
Cancel
Save