maybe add login in the provisioning call

This commit is contained in:
Annie Elequin
2021-09-17 16:06:16 -04:00
parent 78a5114938
commit 4f99fc339f
3 changed files with 16 additions and 3 deletions

View File

@@ -363,6 +363,7 @@ func (user *User) Login(ce *CommandEvent) {
// // Also between the two logout methods (commands.go and provisioning.go)
// user.ConnectionErrors = 0
// user.JID = strings.Replace(user.Conn.Info.Wid, whatsappExt.OldUserSuffix, whatsappExt.NewUserSuffix, 1)
if len(ce.Args) < 1 {
ce.Reply(`Get your access token from https://dev.groupme.com/ which should be the first argument to login`)
return