From 1fac7a7e711612323609370d0ddd35736f66f354 Mon Sep 17 00:00:00 2001 From: Dante Dam <37320033+laggycomputer@users.noreply.github.com> Date: Fri, 17 May 2019 15:23:34 -0700 Subject: [PATCH] [commands] Add missing backtick for is_nsfw docs --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):