Compare commits
2 Commits
e37945c5d5
...
c5e1fb1abf
Author | SHA1 | Date |
---|---|---|
jolheiser | c5e1fb1abf | |
jolheiser | a15bb13ba5 |
|
@ -90,8 +90,8 @@ func init() {
|
||||||
for _, member := range guild.Members {
|
for _, member := range guild.Members {
|
||||||
nick := member.Nick
|
nick := member.Nick
|
||||||
if nick == "" {
|
if nick == "" {
|
||||||
}
|
|
||||||
nick = member.User.Username
|
nick = member.User.Username
|
||||||
|
}
|
||||||
if strings.EqualFold(nickname, nick) && cmd.message.Author.ID != member.User.ID {
|
if strings.EqualFold(nickname, nick) && cmd.message.Author.ID != member.User.ID {
|
||||||
return "A member with that name already exists in this Discord. Please contact staff.", nil
|
return "A member with that name already exists in this Discord. Please contact staff.", nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue