Skip to content

无效果 #2

Description

@KanyShigure

如题,导入了依赖库及github页上的示例代码,无效果
示例代码改动部分:
String appId = ; String clientSecret = ;
这两行改为了直接赋值为机器人的appid和appsecret

                public void onEvent(GroupAtMessageEvent event) {  
                    System.out.println("1");
                    if (event.getD().getContent().contains("session test")) {
                        event.reply("1");
                    }
                }

收群@消息代码,理应收到任何消息都打印一条消息出来,但并没有出现

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions