add custom status command
MODIFY
app/app.go
app/app.go
@@ -133,9 +133,11 @@ func Run() {
window.RegisterCommand(commandimpls.NewVersionCommand())
statusGetCmd := commandimpls.NewStatusGetCommand(discord)
statusSetCmd := commandimpls.NewStatusSetCommand(discord)
+ statusSetCustomCmd := commandimpls.NewStatusSetCustomCommand(discord)
window.RegisterCommand(statusSetCmd)
window.RegisterCommand(statusGetCmd)
- window.RegisterCommand(commandimpls.NewStatusCommand(statusGetCmd, statusSetCmd))
+ window.RegisterCommand(statusSetCustomCmd)
+ window.RegisterCommand(commandimpls.NewStatusCommand(statusGetCmd, statusSetCmd, statusSetCustomCmd))
window.RegisterCommand(commandimpls.NewFileSendCommand(discord, window))
window.RegisterCommand(commandimpls.NewAccount(runNext, window))
window.RegisterCommand(commandimpls.NewManualCommand(window))

add custom status command