Skip to content

Commit febf14b

Browse files
authored
threadmenu: submenu navigation fixes
Signed-off-by: lorenzo132 <50767078+lorenzo132@users.noreply.github.com>
1 parent ddc1814 commit febf14b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cogs/threadmenu.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ def typecheck(m):
178178
if label.lower() == "cancel":
179179
return await ctx.send("Cancelled.")
180180

181+
if label.lower() == "main menu":
182+
return await ctx.send("You cannot use that label.")
183+
181184
if sanitized_label in conf["options"]:
182185
await ctx.send("That option already exists. Use `threadmenu edit` to edit it.")
183186
return

0 commit comments

Comments
 (0)