Skip to main content

时区助手

Project description

时区助手

基于ayaka开发的 时区助手 插件

任何问题请发issue

注意:只适用于群聊!

注意:由于更新pypi的readme.md需要占用版本号,因此其readme.md可能不是最新的,强烈建议读者前往github仓库以获取最新版本的帮助

How to start

安装 ayaka

安装 前置插件

poetry add nonebot-plugin-ayaka

安装 本插件

安装 本插件

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


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_ayaka_timezone-0.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_ayaka_timezone-0.0.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_ayaka_timezone-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d67570779c406adb0f8aae7db1a44e99ebc216de0e2c0fe1ee0952eb5deae971
MD5 b9f701914cef0dc16817484f60c00fba
BLAKE2b-256 c712f37b73f010ff87035e18b6eccd3b5ef07577b65d57c0674657d7d1e6963e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_ayaka_timezone-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_ayaka_timezone-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1804df537c592c169d51474999c98d7b595954363c0d5774f0619807825d333c
MD5 6ed4645c342e2f78d9799b25694d9656
BLAKE2b-256 42107fd68a5f7df3571642fabb611d8c50377aa961a86ef60980186262ebb5c3

See more details on using hashes here.

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