devzat
devzat copied to clipboard
Make messages a new struct / in general make stuff less hacky
Then we could have better detection if messages are dms, instead of the hacky way (as I note in the comment) we do this detection rn:
if strings.HasSuffix(senderName, " <- ") || strings.HasSuffix(senderName, " -> ") { // kinda hacky
https://github.com/quackduck/devzat/blob/main/devchat.go#L265
We could also have some other fun stuff with this feature, plus cleaner and more oop I guess
Yeah for example you could break out the dm to an own command like ./dm @someone <message>?
Actually we had that exact command but moved to = cause it’s easier to type
@patrickhener so we already have that lol
fine
yup