Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions ShitBotCore/src/main/java/haaa/shitbot/core/config/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,34 +164,6 @@ public static final class OneBot {
private final GroupLeaveUnbind groupLeaveUnbind;
private final ServerStartupNotice serverStartupNotice;

public OneBot(boolean enabled,
String websocketUrl,
String accessToken,
boolean allowInsecureRemoteWebsocket,
List<Long> allowedGroupIds,
boolean allowAllGroups,
int connectTimeoutSeconds,
int actionTimeoutSeconds,
int maximumPendingActions,
int heartbeatTimeoutSeconds,
int reconnectInitialSeconds,
int reconnectMaximumSeconds,
int commandCooldownSeconds,
boolean replyAtSender,
Command bindCommand,
Command onlineImageCommand,
Command inventoryCommand,
GroupJoinWelcome groupJoinWelcome,
GroupLeaveUnbind groupLeaveUnbind,
ServerStartupNotice serverStartupNotice) {
this(enabled, websocketUrl, accessToken, allowInsecureRemoteWebsocket, allowedGroupIds,
allowAllGroups, connectTimeoutSeconds, actionTimeoutSeconds, maximumPendingActions,
heartbeatTimeoutSeconds, reconnectInitialSeconds, reconnectMaximumSeconds,
commandCooldownSeconds, replyAtSender, bindCommand, onlineImageCommand,
inventoryCommand, new Command(true, Arrays.asList("profile", "个人资料"), "profile"),
groupJoinWelcome, groupLeaveUnbind, serverStartupNotice);
}

public OneBot(boolean enabled,
String websocketUrl,
String accessToken,
Expand Down
Loading