时区助手
Project description
时区助手
基于ayaka开发的 时区助手 插件
任何问题请发issue
注意:只适用于群聊!
注意:由于更新pypi的readme.md需要占用版本号,因此其readme.md可能不是最新的,强烈建议读者前往github仓库以获取最新版本的帮助
How to start
安装插件
poetry add nonebot-plugin-ayaka-timezone
导入插件
修改nonebot2 bot.py
nonebot.load_plugin("ayaka_timezone")
配置
推荐配置(非强制要求)
COMMAND_START=["#"]
COMMAND_SEP=[" "]
指令
指令 | 参数 | 功能 |
---|---|---|
tz_add | name, timezone | 添加一条时区转换,例如,#tz_add 北京 8,#tz_add 伦敦 0,#tz_add 洛杉矶 -8 |
tz | name | 返回name对应时区的时间,例如 #tz 北京 |
tz | number | 返回对应时区的时间,例如 #tz 8 |
tz_list | 无 | 查看所有的时区转换 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot_plugin_ayaka_timezone-0.1.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_ayaka_timezone-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.8.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d5e157e5551d133d45337c8f8ae2186c5c66e8c8e407dc93e215ce61bf2cc1 |
|
MD5 | 0e92102fee045b498aa6db8ba9d18713 |
|
BLAKE2b-256 | 818a4d1d1a06c095247fab6689a0611e55482d91799d4a40f592811ac5e9287d |
File details
Details for the file nonebot_plugin_ayaka_timezone-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_ayaka_timezone-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.8.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a21fa8e81c3fa358224702141477214f8c36ad9b6a6f98b5ae2d6334d0f5ef8 |
|
MD5 | 6551e0c17a44d98da5961db245d47fb8 |
|
BLAKE2b-256 | e6afb88925c9f5054d0c5f48ab2aeb663ca3ff46e429606d69e94411c5128839 |