Skip to content

Commit

Permalink
fix ip check
Browse files Browse the repository at this point in the history
  • Loading branch information
MeiNanziiii committed Feb 3, 2025
1 parent 4474bcd commit e3da2ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class IPCheckExtension : MinekordExtension() {

MinekordBot.launch {
try {
val member: Member = MinekordBot.guild.members.firstOrNull { it.effectiveName == name && it.roleIds.map { it.value }.containsAll(Auth.requiredRoles) } ?: return@launch
val member: Member = MinekordBot.guild.members.firstOrNull { it.effectiveName == profile.name && it.roleIds.map { it.value }.containsAll(Auth.requiredRoles) } ?: return@launch

member.getDmChannelOrNull()?.createMessage {
embed {
Expand Down

0 comments on commit e3da2ed

Please sign in to comment.