diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 9a0d0c3f0..85ba2893f 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):