diff --git a/src/main/java/io/github/kloping/qqbot/impl/BaseConnectedEvent.java b/src/main/java/io/github/kloping/qqbot/impl/BaseConnectedEvent.java index c0ddd0d..60a530b 100644 --- a/src/main/java/io/github/kloping/qqbot/impl/BaseConnectedEvent.java +++ b/src/main/java/io/github/kloping/qqbot/impl/BaseConnectedEvent.java @@ -30,13 +30,13 @@ public JSONObject getMetadata() { } @Override - public String getClassName() { - return ConnectedEvent.class.getSimpleName(); + public String getSessionId() { + return sessionId; } @Override - public String getSessionId() { - return sessionId; + public String getClassName() { + return ConnectedEvent.class.getSimpleName(); } @Override