discordo/internal/ui/login/token/msg.go
2026-04-05 18:11:34 -04:00

17 lines
251 B
Go

package token
import (
"github.com/ayn2op/tview"
"github.com/gdamore/tcell/v3"
)
type TokenMsg struct {
tcell.EventTime
Token string
}
func tokenCommand(token string) tview.Cmd {
return func() tview.Msg {
return &TokenMsg{Token: token}
}
}