diff --git a/commands.go b/commands.go index 1a631e8..b399eab 100644 --- a/commands.go +++ b/commands.go @@ -1110,6 +1110,10 @@ func fnSync(ce *WrappedCommandEvent) { ce.Reply("`--contact-avatars` can only be used with `sync contacts`") return } + if createPortals && !groups { + ce.Reply("`--create-portals` can only be used with `sync groups`") + return + } if appState { for _, name := range appstate.AllPatchNames {