Correct errormsg when using discord.ext.commands (#2021)

resolves #2020
This commit is contained in:
Michael H 2018-08-14 13:05:18 -04:00 committed by Toby Harradine
parent 7acea29cdb
commit af9478922e

View File

@ -300,7 +300,7 @@ class RedBase(BotBase, RPCMixin):
raise RuntimeError(
f"The {cog.__class__.__name__} cog in the {cog.__module__} package,"
" is not using Red's command module, and cannot be added. "
"If this is your cog, please use from `redbot.core import commands`"
"If this is your cog, please use `from redbot.core import commands`"
"in place of `from discord.ext import commands`. For more details on "
"this requirement, see this page: "
"http://red-discordbot.readthedocs.io/en/v3-develop/framework_commands.html"