diff --git a/docs/update_red.rst b/docs/update_red.rst index fdbf5b693..0781e11d0 100644 --- a/docs/update_red.rst +++ b/docs/update_red.rst @@ -54,6 +54,8 @@ If you have Red 3.2.0 or newer, you can upgrade by following these 4 easy steps: 4. Start your bot. +5. If you have any 3rd-party cogs installed, we highly recommend you update them with this command in Discord: ``[p]cog update`` (``[p]`` is considered as your prefix) + Linux & Mac ----------- @@ -88,6 +90,8 @@ If you have Red 3.2.0 or newer, you can upgrade by following these 4 easy steps: 4. Start your bot. +5. If you have any 3rd-party cogs installed, we highly recommend you update them with this command in Discord: ``[p]cog update`` (``[p]`` is considered as your prefix) + Red 3.1.X ********* diff --git a/redbot/core/events.py b/redbot/core/events.py index 00d6434f3..98b55e644 100644 --- a/redbot/core/events.py +++ b/redbot/core/events.py @@ -29,6 +29,7 @@ from .utils._internal_utils import ( format_fuzzy_results, expected_version, fetch_latest_red_version_info, + send_to_owners_with_prefix_replaced, ) from .utils.chat_formatting import inline, bordered, format_perms_list, humanize_timedelta @@ -156,6 +157,11 @@ def init_events(bot, cli_flags): python=sys.executable, package_extras=package_extras ) ) + extra_update += _( + "\nOnce you've started up your bot again, if you have any 3rd-party cogs" + " installed we then highly recommend you update them with this command" + " in Discord: `[p]cog update`" + ) else: extra_update += _( @@ -201,7 +207,7 @@ def init_events(bot, cli_flags): bot._color = discord.Colour(await bot._config.color()) bot._red_ready.set() if outdated_red_message: - await bot.send_to_owners(outdated_red_message) + await send_to_owners_with_prefix_replaced(bot, outdated_red_message) @bot.event async def on_command_completion(ctx: commands.Context):