Compare commits
1 Commits
97ddafcaf6
...
296c7ec3c6
Author | SHA1 | Date |
---|---|---|
|
296c7ec3c6 |
|
@ -67,15 +67,13 @@ func init() {
|
|||
return "No application found for that player", nil
|
||||
}
|
||||
}
|
||||
} else if len(cmd.message.Member.Roles) == 0 {
|
||||
if len(apps) > 0 {
|
||||
} 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 {
|
||||
return "No player or applications found for that username", nil
|
||||
}
|
||||
}
|
||||
accepted := apps[0].Accepted
|
||||
|
||||
if accepted == nil {
|
||||
|
|
Loading…
Reference in New Issue