mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Correct errormsg when using discord.ext.commands (#2021)
resolves #2020
This commit is contained in:
parent
7acea29cdb
commit
af9478922e
@ -300,7 +300,7 @@ class RedBase(BotBase, RPCMixin):
|
|||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
f"The {cog.__class__.__name__} cog in the {cog.__module__} package,"
|
f"The {cog.__class__.__name__} cog in the {cog.__module__} package,"
|
||||||
" is not using Red's command module, and cannot be added. "
|
" 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 "
|
"in place of `from discord.ext import commands`. For more details on "
|
||||||
"this requirement, see this page: "
|
"this requirement, see this page: "
|
||||||
"http://red-discordbot.readthedocs.io/en/v3-develop/framework_commands.html"
|
"http://red-discordbot.readthedocs.io/en/v3-develop/framework_commands.html"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user