Skip to main content

Nonebot2对对联插件。

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-couplets

✨ Nonebot2对对联插件 ✨

license pypi python

📖 介绍

基于王斌给您对对联API的Nonebot2对对联插件。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-couplets
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-couplets
pdm
pdm add nonebot-plugin-couplets
poetry
poetry add nonebot-plugin-couplets
conda
conda install nonebot-plugin-couplets

打开 nonebot2 项目的 bot.py 文件, 在其中写入

nonebot.load_plugin('nonebot_plugin_couplets')

☀ ️指令

对联 <上联内容> (数量)
· 数量可选,默认为1

例如,对联 苟利国家生死以 3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_couplets-0.1.0.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_couplets-0.1.0-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page