Compare commits
1 Commits
296c7ec3c6
...
97ddafcaf6
Author | SHA1 | Date |
---|---|---|
|
97ddafcaf6 |
|
@ -67,12 +67,14 @@ func init() {
|
|||
return "No application found for that player", nil
|
||||
}
|
||||
}
|
||||
} else if len(apps) > 0 && len(cmd.message.Member.Roles) == 0 {
|
||||
if apps[0].Accepted != nil && *apps[0].Accepted {
|
||||
return fmt.Sprintf("Please join the server at `%s` and then re-try this command", cmd.config.Register.URL), nil
|
||||
} else if len(cmd.message.Member.Roles) == 0 {
|
||||
if len(apps) > 0 {
|
||||
if apps[0].Accepted != nil && *apps[0].Accepted {
|
||||
return fmt.Sprintf("Please join the server at `%s` and then re-try this command", cmd.config.Register.URL), nil
|
||||
}
|
||||
} else {
|
||||
return "No player or applications found for that username", nil
|
||||
}
|
||||
} else {
|
||||
return "No player or applications found for that username", nil
|
||||
}
|
||||
accepted := apps[0].Accepted
|
||||
|
||||
|
|
Loading…
Reference in New Issue