Giter VIP home page Giter VIP logo

nonebot-plugin-hammer-nbnhhsh's Introduction

nonebot

Nonebot Plugin Hammer Nbnhhsh

✨ 基于onebot、nonebot2与「好好说话」项目的 字母/数字缩写含义查询及提交插件 ✨

license pypi python onebot11 nonebot2 hammer-core

使用本插件

1. 使用nb-cli安装(推荐)

在命令行中执行nb plugin install nonebot-plugin-hammer-nbnhhsh安装即可

2. 使用包管理工具安装(用pip举例)

  1. 在命令行中执行pip install nonebot-plugin-hammer-nbnhhsh安装python包
  2. bot.py中添加nonebot.load_plugin('nonebot-plugin-hammer-nbnhhsh')

命令

注:

  • 本节中的命令省略了命令前缀,本插件的命令前缀采用了.env文件配置中的COMMAND_START的值,默认情况下是/,也就是说,在你没有自行配置过.env文件的情况下,本插件提供的命令如/nbnhhsh <一段话>
  • 在下文中,“缩写”的定义为“仅由字母或阿拉伯数字中任意一种或两种所构成的长度大于1的连续字符串
命令 说明
nbnhhsh <一段话> 查询该段话中所有缩写所代表的含义
nbnhhsh.submit <缩写> <含义> 为「好好说话」项目贡献词条,“含义”末尾可通过括号包裹(简略注明来源),经人工审核将整理录入

主要功能效果

例命令(COMMAND_START配置为默认值):

/nbnhhsh u1s1,nsdd,但是你有没有想过ababa是怎么想的,nm有,nzzhnzz

机器人回复:

- u1s1:
 有一说一
- nsdd:
 你说的对 你是对的 你是弟弟 诺森德岛 你萨顶顶 你神叨叨 你手短短 南山大道 泥塑敦敦 你射得多 你塞蛋蛋 泥兽段段 你屎多多 你是大雕 男神代代 扭扭捏捏 你耍大刀 你水多多 你稍等等 内射到顶 铃声多多
- nm:
 纳米 ** 你妹 农民 normal Nicki Minaj 柠檬 奶妈 妮妙 诺民(NCT成员李帝努和罗渽民的cp) no miss 嫩模 Nuclear missile 牛马 尼玛(网络) 你没事吧 匿名 内幕(网络) 年迈 nano machine
- ababa 有可能是:
 Ababa
- nzzhnzz:
 尚未录入,可以自行使用"/nbnhhsh.submit nzzhnzz <含义>"命令提交对应文字

测试环境

  • Python 3.9
  • go-cqhttp v1.0.0-rc3
  • nonebot 2.0.0-beta.4

鸣谢


如果觉得有用的话求点个Star啵QwQ

nonebot-plugin-hammer-nbnhhsh's People

Contributors

argonariod avatar

Stargazers

sansiny avatar AC?别闹! avatar  avatar Aurora avatar BENDIT avatar 石墨 avatar  avatar Anh avatar  avatar

Watchers

 avatar

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.