From cb86aedf415dcbecc63986514eabb386aa33e785 Mon Sep 17 00:00:00 2001 From: "Martin B." <55140357+martinbndr@users.noreply.github.com> Date: Thu, 4 Dec 2025 19:11:34 +0100 Subject: [PATCH 1/2] Add threadmenu toggle notice Adds a notice to the `threadmenu toggle` command. It gets displayed if the advancedmenu plugin is part of the bot and checks if its enabled at the same time. useful for users because both would interrupt eachother. --- cogs/threadmenu.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cogs/threadmenu.py b/cogs/threadmenu.py index 7f9e193844..563203e2db 100644 --- a/cogs/threadmenu.py +++ b/cogs/threadmenu.py @@ -87,6 +87,18 @@ async def threadmenu_toggle(self, ctx): conf["enabled"] = not conf["enabled"] await self._save_conf(conf) await ctx.send(f"Thread-creation menu is now {'enabled' if conf['enabled'] else 'disabled'}.") + advancedmenu_plugin = self.bot.get_cog("AdvancedMenu") + if ( + advancedmenu_plugin + and hasattr(advancedmenu_plugin, "config") + and advancedmenu_plugin.config.get("enabled") + and advancedmenu_plugin.config["enabled"] is True + and conf["enabled"] + ): + await ctx.send( + "**Warning:** You are using both the core threadmenu feature and the advancedmenu plugin.\n" + "It is recommended to disable/uninstall the advancedmenu plugin to avoid interruption." + ) @checks.has_permissions(PermissionLevel.ADMINISTRATOR) @threadmenu.command(name="show") From 8d6513dc1631818e48ac0c420573f832b6026b47 Mon Sep 17 00:00:00 2001 From: "Martin B." <55140357+martinbndr@users.noreply.github.com> Date: Mon, 8 Dec 2025 21:53:32 +0100 Subject: [PATCH 2/2] Threadmenu toggle notice link Adds a link to the migration guide for the legacy plugin. --- cogs/threadmenu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/threadmenu.py b/cogs/threadmenu.py index 563203e2db..c8c7b41069 100644 --- a/cogs/threadmenu.py +++ b/cogs/threadmenu.py @@ -97,7 +97,8 @@ async def threadmenu_toggle(self, ctx): ): await ctx.send( "**Warning:** You are using both the core threadmenu feature and the advancedmenu plugin.\n" - "It is recommended to disable/uninstall the advancedmenu plugin to avoid interruption." + "It is recommended to disable/uninstall the advancedmenu plugin to avoid interruption.\n" + "Migration guide can be found at: " ) @checks.has_permissions(PermissionLevel.ADMINISTRATOR)