Git Product home page Git Product logo

qshell's People

Contributors

erosagiri avatar hinayand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

hinayand

qshell's Issues

能否获取命令执行者的QQ号

大佬,能否获取执行命令的用户QQ号作为一个变量,让这shell可以引用。
Screenshot_2021-07-30-17-45-52-96

能的话我这个也就能知道是谁执行,然后进行记录了

建议完善文档

文档里有些没有及时跟进的地方:

程序生成的默认配置文件里的shellList.replace字段不太明白,文档中也没有相关的说明,
看源代码应该是进行一些指令替换的功能,我不太了解mirai的api,不太清楚具体的含义

还有shellList.blackList和shellList.message也是不太明白对应这什么功能,如果可以的话,能添加相应的文档说明吗?谢谢!

缺少使用示例

我尝试理解用法后进行了配置,把自己改为master
然后尝试使用shell
出现以下对话
/qs uname -a

参数不匹配, 你是否想执行:
/qs trust # 添加用户到信任列表
/qs black # 添加用户到balck列表
/qs blackClear # 清除black列表
/qs denyAll # 清楚指定的shell所有信任列表
/qs cmd # 编辑cmd
/qs deny # 从信任列表移除用户
/qs reload # 重新加载
/qs disable # 关闭一个shell
/qs echo # 回复指定消息
/qs enable # 开启一个shell
/qs help # 获取帮助
/qs info # 获取Shell的详细配置
/qs list # 获取shell列表
/qs remove # 移除shell
/qs add [notPresentMessage] # 添加一个shell
/qs set # 设置shell值

/qs trust **********

参数不匹配, 你是否想执行:
/qs trust (参数不足)

/qs list

shell 开 ^$(.+)

/qs shell

参数不匹配, 你是否想执行:
/qs trust # 添加用户到信任列表
/qs black # 添加用户到balck列表
/qs blackClear # 清除black列表
/qs denyAll # 清楚指定的shell所有信任列表
/qs cmd # 编辑cmd
/qs deny # 从信任列表移除用户
/qs reload # 重新加载
/qs disable # 关闭一个shell
/qs echo # 回复指定消息
/qs enable # 开启一个shell
/qs help # 获取帮助
/qs info # 获取Shell的详细配置
/qs list # 获取shell列表
/qs remove # 移除shell
/qs add [notPresentMessage] # 添加一个shell
/qs set # 设置shell值

/qs help

QShell 代理执行Shell命令
/qs help 获取帮助
/qs list 获取shell列表
/qs info 获取shell详细信息
/qs echo 回复指定消息
/qs trust 添加用户到指定信任列表
/qs deny 从信任列表移除用户
/qs denyAll 清楚指定的shell所有信任列表
/qs enable 开启一个shell
/qs disable 关闭一个shell
/qs add 添加一个shell
/qs set 设置shell的指定值
/qs cmd 编辑命令行
/qs reload 重新加载配置

很尴尬

密码泄露

老哥,你有个QQ账号密码写在src/test/kotlin/RunMirai.kt里了……

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.