Remove stop as default option in cli menu
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
This commit is contained in:
@@ -138,7 +138,7 @@ func mainMenu() *wmenu.Menu {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
if botStatus.isStarted {
|
if botStatus.isStarted {
|
||||||
menu.Option("Stop bot", nil, true, func(opt wmenu.Opt) error {
|
menu.Option("Stop bot", nil, false, func(opt wmenu.Opt) error {
|
||||||
return botStop()
|
return botStop()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user