Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
quqiOnfree authored Apr 5, 2023
1 parent c86142a commit b08e263
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,16 @@ namespace GroupOperator
"kick userid true/false", //命令格式
"踢出群成员" //命令作用解释
);

//设置权限
qqbot::ServerInfo::getPermission().setGroupDefaultPermission("kick", false);
//true是普通用户可以访问,false是管理员可以访问
//这个可以在配置文件里面进行编辑
}
};
}


```
#### 加载插件
需要在[register.cpp](./register/register.cpp)加入一些代码
Expand Down

0 comments on commit b08e263

Please sign in to comment.