aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDante Dam <[email protected]>2019-05-17 15:23:34 -0700
committerDante Dam <[email protected]>2019-05-17 15:25:45 -0700
commit1fac7a7e711612323609370d0ddd35736f66f354 (patch)
tree0f9e1fb24aff1e39e67c32f27155d9cfc8ece253
parent[tasks] Add way to change interval at run-time (diff)
downloaddiscord.py-1fac7a7e711612323609370d0ddd35736f66f354.tar.xz
discord.py-1fac7a7e711612323609370d0ddd35736f66f354.zip
[commands] Add missing backtick for is_nsfw docs
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index 9a0d0c3f..85ba2893 100644
--- a/discord/ext/commands/core.py
+++ b/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):