Hotfix DiscordRanks
Dieser Commit ist enthalten in:
Ursprung
687fc11fda
Commit
e978d7f0ca
@ -60,7 +60,7 @@ public class DiscordRanks {
|
|||||||
guild.removeRoleFromMember(member, role).complete();
|
guild.removeRoleFromMember(member, role).complete();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!needed.isEmpty()) {
|
if (needed != null && !needed.isEmpty()) {
|
||||||
guild.addRoleToMember(member, guild.getRoleById(needed)).complete();
|
guild.addRoleToMember(member, guild.getRoleById(needed)).complete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren