Пример #1
0
def start_menu(message, user):
	try:
		display(user, *ROOT_MENU)
	except MenuLockError:
		tell(user, "You already have a menu open.\nTry :again to see it or :exit to quit it.")
Пример #2
0
def start_menu(user):
	try:
		menus.display(user, *ROOT_MENU)
	except menus.MenuLockError:
		tell(user, "Menu already open")