Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Dec 30, 2023
1 parent 5662b70 commit 453c74a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.json.JSONObject;

import java.io.File;
import java.util.List;

/**
* 机器人实例
Expand Down Expand Up @@ -520,6 +521,10 @@ public Result addMemberReasonBan(String islandSourceId, String dodoSourceId, Str
return io.github.minecraftchampions.dodoopenjava.api.v2.MemberApi.addMemberReasonBan(bot.getAuthorization(), islandSourceId, dodoSourceId, reason);
}

@SneakyThrows
public Result getMemberDodoIdMapList(List<String> strList) {
return io.github.minecraftchampions.dodoopenjava.api.v2.MemberApi.getMemberDodoIdMapList(bot.getAuthorization(), strList);
}
}

public class NTFApi {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public static Result removeMemberBan(String authorization, String islandSourceId
}

/**
* 取消成员永久封禁
* 获取成员DoDo号映射列表
*
* @param clientId 机器人唯一标识
* @param token 机器人鉴权Token
Expand All @@ -459,7 +459,7 @@ public static Result getMemberDodoIdMapList(String clientId, String token, List<
}

/**
* 取消成员永久封禁
* 获取成员DoDo号映射列表
*
* @param authorization authorization
* @param dodoIdList dodoId
Expand Down

0 comments on commit 453c74a

Please sign in to comment.