Skip to content

Commit

Permalink
fix: 适配 tsugu-api-python 的结构更改
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsSov8forUs committed May 17, 2024
1 parent 730a94a commit 0fb136e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_tsugu_bangdream_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
)

import tsugu_api_async
from tsugu_api_async._typing import _ServerId
from tsugu_api_core._typing import _ServerId

class NoSpaceExtension(Extension):
@property
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_tsugu_bangdream_bot/_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import List, Tuple, Union, Optional, Sequence

import tsugu_api_async
from tsugu_api_async._typing import _Server, _ServerId, _DifficultyText
from tsugu_api_core._typing import _Server, _ServerId, _DifficultyText

from ._utils import server_id_to_full_name

Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_tsugu_bangdream_bot/_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from tsugu_api_async._typing import _ServerId, _ServerName
from tsugu_api_core._typing import _ServerId, _ServerName

_COMMAND_KEYWORDS = [
'查询玩家',
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[project]
name = "nonebot-plugin-tsugu-bangdream-bot"
version = "0.1.3"
version = "0.1.4"
description = "Koishi-Plugin-Tsugu-BanGDream-Bot 的 NoneBot2 实现"
authors = [
{name = "WindowsSov8forUs", email = "[email protected]"},
]
dependencies = [
"nonebot2>=2.2.1",
"nonebot-plugin-alconna>=0.42.4",
"tsugu-api-python>=1.1.7",
"tsugu-api-python>=1.2.0",
"nonebot-plugin-userinfo>=0.2.4",
]
requires-python = ">=3.8"
Expand Down

0 comments on commit 0fb136e

Please sign in to comment.