Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
fix some problems in #79
Browse files Browse the repository at this point in the history
Former-commit-id: 9da1ce03e8e2c27e8304e092bfafcf6fd93fdc6f [formerly 75c6d4009f10b71283b900bf45fa103aed67222a]
Former-commit-id: 4892d6d
  • Loading branch information
Nambers committed Sep 7, 2021
1 parent 32d6363 commit ccb98d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cpp/demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ class Main:public CPPPlugin {
// e.sender.sendMiraiCode(tmp.toMiraiCode());
// e.message.source.recall();
logger->info("Start");
e.sender.deleteFriend();
// logger->info("content: "+e.nextMessage().content.toMiraiCode());
});

// 监听群信息
procession->registerEvent<GroupMessageEvent>([=](GroupMessageEvent e) {
e.sender.kick("");
e.group.quit();
// SYSTEMTIME st = { 0 };
// GetLocalTime(&st); //获取当前时间 可精确到ms
// logger->info(to_string(st.wHour)+":"+to_string(st.wMinute)+":"+to_string(st.wSecond)+":"+to_string(st.wMilliseconds));
Expand Down
2 changes: 1 addition & 1 deletion kotlin/shared/src/main/kotlin/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class Config {
data class NugdeEvent(
val from: Contact,
val botid: Long,
val tyoe:Int = 13
val type: Int = 13
)
}
data class PluginConfig(
Expand Down

0 comments on commit ccb98d9

Please sign in to comment.